summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debughlp.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debughlp.c')
-rw-r--r--src/emu/debug/debughlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/debug/debughlp.c b/src/emu/debug/debughlp.c
index 9b3638f822a..8a975c90ff3 100644
--- a/src/emu/debug/debughlp.c
+++ b/src/emu/debug/debughlp.c
@@ -1048,7 +1048,7 @@ const char *debug_get_help(const char *tag)
/* make a lowercase copy of the tag */
for (i = 0; i <= taglen; i++)
- tagcopy[i] = tolower(tag[i]);
+ tagcopy[i] = tolower((UINT8)tag[i]);
/* find a match */
for (i = 0; i < sizeof(static_help_list) / sizeof(static_help_list[0]); i++)