From 04181bb832da8039994c320f6d4c370ceec98673 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 25 Apr 2024 13:31:40 -0400 Subject: 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 --- apps/plugins/puzzles/rockbox.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) rb->lcd_update(); } -static int mainmenu_cb(int action, const struct menu_item_ex *this_item) +static int mainmenu_cb(int action, + const struct menu_item_ex *this_item, + struct gui_synclist *this_list) { + (void)this_list; int i = (intptr_t) this_item; if(action == ACTION_REQUEST_MENUITEM) { -- cgit v1.2.3