summaryrefslogtreecommitdiffstats
path: root/xine_artsplugin
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-04-12 22:55:26 +0900
committerMichele Calgaro <[email protected]>2024-04-12 22:55:26 +0900
commit39912346d4b3a834362fed5099ff314b181e2aae (patch)
tree1b0291a56ee61c7cc67fe560ad929f7d7b094564 /xine_artsplugin
parent3168c39ef1e445db1a6e22a7ba63e8cb4714e6e8 (diff)
downloadtdemultimedia-39912346d4b3a834362fed5099ff314b181e2aae.tar.gz
tdemultimedia-39912346d4b3a834362fed5099ff314b181e2aae.zip
Fix FTBFS caused by incompatible cast
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'xine_artsplugin')
-rw-r--r--xine_artsplugin/audio_fifo_out.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xine_artsplugin/audio_fifo_out.c b/xine_artsplugin/audio_fifo_out.c
index 9255ba2c..3087bce0 100644
--- a/xine_artsplugin/audio_fifo_out.c
+++ b/xine_artsplugin/audio_fifo_out.c
@@ -354,7 +354,7 @@ static ao_driver_t * _arts_open(audio_driver_class_t *driver_class, const void *
return &_ao_driver->ao_driver;
}
-static void *_arts_plugin_class_init(xine_t *xine, void *data) {
+static void *_arts_plugin_class_init(xine_t *xine, const void *data) {
fifo_class_t *cl;
cl = (fifo_class_t *) malloc(sizeof(fifo_class_t));
@@ -376,7 +376,7 @@ static ao_info_t _arts_info =
plugin_info_t arts_xine_plugin_info[] =
{
- { PLUGIN_AUDIO_OUT, AUDIO_OUT_IFACE_VERSION, "arts", XINE_VERSION_CODE, &_arts_info, _arts_plugin_class_init },
+ { PLUGIN_AUDIO_OUT, AUDIO_OUT_IFACE_VERSION, "arts", XINE_VERSION_CODE, &_arts_info, &_arts_plugin_class_init },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};
#endif