forked from len0rd/rockbox
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
This commit is contained in:
parent
c718724a70
commit
04181bb832
1 changed files with 4 additions and 1 deletions
|
@ -3612,8 +3612,11 @@ static void save_game(void)
|
||||||
rb->lcd_update();
|
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;
|
int i = (intptr_t) this_item;
|
||||||
if(action == ACTION_REQUEST_MENUITEM)
|
if(action == ACTION_REQUEST_MENUITEM)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue