diff options
| author | 2008-07-12 21:23:48 +0000 | |
|---|---|---|
| committer | 2008-07-12 21:23:48 +0000 | |
| commit | 90a68362263ca460eb4ee856f6c62c8fc3519c90 (patch) | |
| tree | a0acf43037d8b342bedd9a65ba3df725d7b8f424 | |
| parent | 86fbc4526685e4d0c37bc7e62fbab44b7b15e2b5 (diff) | |
64-bit GCC fixes.
| -rw-r--r-- | src/emu/uimenu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/uimenu.c b/src/emu/uimenu.c index e1313aa2a54..ce34e79426f 100644 --- a/src/emu/uimenu.c +++ b/src/emu/uimenu.c @@ -1466,9 +1466,9 @@ static void menu_input_groups_populate(running_machine *machine, ui_menu *menu, { char buffer[40]; sprintf(buffer, "Player %d Controls", player + 1); - ui_menu_item_append(menu, buffer, NULL, 0, (void *)(IPG_PLAYER1 + player + 1)); + ui_menu_item_append(menu, buffer, NULL, 0, (void *)(FPTR)(IPG_PLAYER1 + player + 1)); } - ui_menu_item_append(menu, "Other Controls", NULL, 0, (void *)(IPG_OTHER + 1)); + ui_menu_item_append(menu, "Other Controls", NULL, 0, (void *)(FPTR)(IPG_OTHER + 1)); } @@ -2608,7 +2608,7 @@ static void menu_video_options_populate(running_machine *machine, ui_menu *menu, /* create a string for the item, replacing underscores with spaces */ astring_replacec(astring_cpyc(tempstring, name), 0, "_", " "); - ui_menu_item_append(menu, astring_c(tempstring), NULL, 0, (void *)(VIDEO_ITEM_VIEW + viewnum)); + ui_menu_item_append(menu, astring_c(tempstring), NULL, 0, (void *)(FPTR)(VIDEO_ITEM_VIEW + viewnum)); } /* add a separator */ |
