summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d0cd464)
raw | patch | inline | side by side (parent: d0cd464)
author | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Wed, 13 May 2020 06:00:36 +0000 (10:00 +0400) | ||
committer | DeaDDooMER <deaddoomer@deadsoftware.ru> | |
Wed, 13 May 2020 06:00:36 +0000 (10:00 +0400) |
src/openal/sound.c | patch | blob | history |
diff --git a/src/openal/sound.c b/src/openal/sound.c
index b41906f4588bc0fbf990dab2841e2ed90d94f443..8d0b342c4ff656dee368401530f64946d9e4d98a 100644 (file)
--- a/src/openal/sound.c
+++ b/src/openal/sound.c
/* 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;
}