diff options
author | Michele Calgaro <[email protected]> | 2024-04-12 22:55:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-04-12 22:55:26 +0900 |
commit | 39912346d4b3a834362fed5099ff314b181e2aae (patch) | |
tree | 1b0291a56ee61c7cc67fe560ad929f7d7b094564 /xine_artsplugin | |
parent | 3168c39ef1e445db1a6e22a7ba63e8cb4714e6e8 (diff) | |
download | tdemultimedia-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.c | 4 |
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 |