summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/cheat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/cheat.c')
-rw-r--r--src/emu/cheat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cheat.c b/src/emu/cheat.c
index e6ffd5d0741..3e978661b5d 100644
--- a/src/emu/cheat.c
+++ b/src/emu/cheat.c
@@ -465,7 +465,7 @@ void *cheat_get_next_menu_entry(running_machine *machine, void *previous, const
{
if (description != NULL)
{
- while (isspace(**description))
+ while (isspace((UINT8)**description))
*description += 1;
if (**description == 0)
*description = MENU_SEPARATOR_ITEM;