From: DeaDDooMER Date: Wed, 13 May 2020 06:00:36 +0000 (+0400) Subject: openal: fix incompatible pointer type X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=6e1b30ae9e47ce56352acb5911c961acf2f8b9f5;p=flatwaifu.git openal: fix incompatible pointer type --- diff --git a/src/openal/sound.c b/src/openal/sound.c index b41906f..8d0b342 100644 --- a/src/openal/sound.c +++ b/src/openal/sound.c @@ -110,7 +110,7 @@ void MUS_update (void) { /* Sound */ -static int sound_menu_handler (menu_msg_t *msg, const menu_t *m, void *data, int i) { +static int sound_menu_handler (menu_msg_t *msg, const menu_t *m, int i) { static int cur; enum { VOLUME, __NUM__ }; static const simple_menu_t sm = { @@ -130,7 +130,7 @@ static int sound_menu_handler (menu_msg_t *msg, const menu_t *m, void *data, int } const menu_t *S_menu (void) { - static const menu_t m = { sound_menu_handler }; + static const menu_t m = { &sound_menu_handler }; return &m; }