diff options
Diffstat (limited to 'src/emu/input.c')
-rw-r--r-- | src/emu/input.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/emu/input.c b/src/emu/input.c index 28337c7cf81..96fa1458368 100644 --- a/src/emu/input.c +++ b/src/emu/input.c @@ -139,7 +139,7 @@ static const code_string_table devclass_token_table[] = { DEVICE_CLASS_MOUSE, "MOUSECODE" }, { DEVICE_CLASS_LIGHTGUN, "GUNCODE" }, { DEVICE_CLASS_JOYSTICK, "JOYCODE" }, - { ~0, "UNKCODE" } + { ~0U, "UNKCODE" } }; // friendly strings for device classes @@ -149,7 +149,7 @@ static const code_string_table devclass_string_table[] = { DEVICE_CLASS_MOUSE, "Mouse" }, { DEVICE_CLASS_LIGHTGUN, "Gun" }, { DEVICE_CLASS_JOYSTICK, "Joy" }, - { ~0, "Unk" } + { ~0U, "Unk" } }; // token strings for item modifiers @@ -161,7 +161,7 @@ static const code_string_table modifier_token_table[] = { ITEM_MODIFIER_RIGHT, "RIGHT" }, { ITEM_MODIFIER_UP, "UP" }, { ITEM_MODIFIER_DOWN, "DOWN" }, - { ~0, "" } + { ~0U, "" } }; // friendly strings for item modifiers @@ -173,7 +173,7 @@ static const code_string_table modifier_string_table[] = { ITEM_MODIFIER_RIGHT, "Right" }, { ITEM_MODIFIER_UP, "Up" }, { ITEM_MODIFIER_DOWN, "Down" }, - { ~0, "" } + { ~0U, "" } }; // token strings for item classes @@ -182,7 +182,7 @@ static const code_string_table itemclass_token_table[] = { ITEM_CLASS_SWITCH, "SWITCH" }, { ITEM_CLASS_ABSOLUTE, "ABSOLUTE" }, { ITEM_CLASS_RELATIVE, "RELATIVE" }, - { ~0, "" } + { ~0U, "" } }; // token strings for standard item ids @@ -411,7 +411,7 @@ static const code_string_table itemid_token_table[] = { ITEM_ID_ADD_RELATIVE15,"ADDREL15" }, { ITEM_ID_ADD_RELATIVE16,"ADDREL16" }, - { ~0, NULL } + { ~0U, NULL } }; |