diff options
Diffstat (limited to 'src/emu/inputseq.c')
-rw-r--r-- | src/emu/inputseq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/inputseq.c b/src/emu/inputseq.c index e2f481bfaa2..ea3a3b5829c 100644 --- a/src/emu/inputseq.c +++ b/src/emu/inputseq.c @@ -527,7 +527,7 @@ int input_seq_from_tokens(const char *string, input_seq *seq) char *strtemp; /* trim any leading spaces */ - while (*str != 0 && isspace(*str)) + while (*str != 0 && isspace((UINT8)*str)) str++; /* bail if we're done */ @@ -538,8 +538,8 @@ int input_seq_from_tokens(const char *string, input_seq *seq) } /* find the end of the token and make it upper-case along the way */ - for (strtemp = str; *strtemp != 0 && !isspace(*strtemp); strtemp++) - *strtemp = toupper(*strtemp); + for (strtemp = str; *strtemp != 0 && !isspace((UINT8)*strtemp); strtemp++) + *strtemp = toupper((UINT8)*strtemp); origspace = *strtemp; *strtemp = 0; |