diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-04-25 13:31:40 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-04-25 13:32:47 -0400 |
commit | 04181bb832da8039994c320f6d4c370ceec98673 (patch) | |
tree | d9b2c14b9eee9cfa039b3a81a5580238ee2f0fa3 | |
parent | c718724a70a6bb9baebff6ccbd779ba743c21bc1 (diff) | |
download | rockbox-04181bb832da8039994c320f6d4c370ceec98673.tar.gz rockbox-04181bb832da8039994c320f6d4c370ceec98673.zip |
Fix sim build error with GCC14.
This is a (thankfully harmless) long-standing callback prototype
mismatch; I'm surprised this wasn't caught before!
Change-Id: Idb3ebc6d7d4fd64841d0a10981c4bf1b10d192c7
-rw-r--r-- | apps/plugins/puzzles/rockbox.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/rockbox.c b/apps/plugins/puzzles/rockbox.c index e175429075..263a19f421 100644 --- a/apps/plugins/puzzles/rockbox.c +++ b/apps/plugins/puzzles/rockbox.c | |||
@@ -3612,8 +3612,11 @@ static void save_game(void) | |||
3612 | rb->lcd_update(); | 3612 | rb->lcd_update(); |
3613 | } | 3613 | } |
3614 | 3614 | ||
3615 | static int mainmenu_cb(int action, const struct menu_item_ex *this_item) | 3615 | static int mainmenu_cb(int action, |
3616 | const struct menu_item_ex *this_item, | ||
3617 | struct gui_synclist *this_list) | ||
3616 | { | 3618 | { |
3619 | (void)this_list; | ||
3617 | int i = (intptr_t) this_item; | 3620 | int i = (intptr_t) this_item; |
3618 | if(action == ACTION_REQUEST_MENUITEM) | 3621 | if(action == ACTION_REQUEST_MENUITEM) |
3619 | { | 3622 | { |