aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorNebuleon Fumika2013-02-06 04:57:12 -0500
committerNebuleon Fumika2013-02-06 04:57:12 -0500
commit3c3a97219dbe3a2e7555e6f65eb093d4f3435e49 (patch)
tree976a6d5b889efec6ee62136cfc96dfc26a937b74 /source
parentb277570daee54faf93804f5ae2d5e82e8fa11708 (diff)
downloadsnesemu-3c3a97219dbe3a2e7555e6f65eb093d4f3435e49.tar.gz
snesemu-3c3a97219dbe3a2e7555e6f65eb093d4f3435e49.tar.bz2
snesemu-3c3a97219dbe3a2e7555e6f65eb093d4f3435e49.zip
Fix 2 compiler warnings in gui.c.
Diffstat (limited to 'source')
-rw-r--r--source/nds/gui.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index 581c905..9ce602c 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -2852,10 +2852,12 @@ u32 menu(u16 *screen, bool8 FirstInvocation)
{
/* 00 */ SUBMENU_OPTION(NULL, &msg[MSG_MAIN_MENU_SAVED_STATES], NULL, 0),
- /* 01 */ NUMERIC_SELECTION_ACTION_OPTION(menu_save_state, NULL, &msg[FMT_SAVED_STATE_CREATE], &savestate_index, SAVE_STATE_SLOT_NUM, NULL, 1),
+ // savestate_index is still a signed int
+ /* 01 */ NUMERIC_SELECTION_ACTION_OPTION(menu_save_state, NULL, &msg[FMT_SAVED_STATE_CREATE], (u32*) &savestate_index, SAVE_STATE_SLOT_NUM, NULL, 1),
+ // savestate_index is still a signed int
/* 02 */ NUMERIC_SELECTION_ACTION_OPTION(menu_load_state, NULL,
- &msg[FMT_SAVED_STATE_LOAD], &savestate_index, SAVE_STATE_SLOT_NUM, NULL, 2),
+ &msg[FMT_SAVED_STATE_LOAD], (u32*) &savestate_index, SAVE_STATE_SLOT_NUM, NULL, 2),
/* 03 */ SUBMENU_OPTION(&gamestate_delette_menu, &msg[MSG_SAVED_STATE_DELETE_GENERAL], NULL, 5),
};