diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-12 22:55:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-04-12 23:14:27 +0900 |
commit | 1562f14876989235eb2efb8446cda28084786e3c (patch) | |
tree | 9abe4fbf58a333dc49d7c92191311b3cb149ad2a | |
parent | d1b9bae155425c2d500b136111cc4f2f28fc0c16 (diff) | |
download | tdemultimedia-1562f14876989235eb2efb8446cda28084786e3c.tar.gz tdemultimedia-1562f14876989235eb2efb8446cda28084786e3c.zip |
Fix FTBFS caused by incompatible cast
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 39912346d4b3a834362fed5099ff314b181e2aae)
-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 |