summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/debug/debugvw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/debug/debugvw.c')
-rw-r--r--src/emu/debug/debugvw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/debug/debugvw.c b/src/emu/debug/debugvw.c
index 765990a985d..fa1dcff71e1 100644
--- a/src/emu/debug/debugvw.c
+++ b/src/emu/debug/debugvw.c
@@ -1147,13 +1147,13 @@ static void registers_view_add_register(debug_view *view, int regnum, const char
}
/* now trim spaces */
- while (isspace(str[tagstart]) && taglen > 0)
+ while (isspace((UINT8)str[tagstart]) && taglen > 0)
tagstart++, taglen--;
- while (isspace(str[tagstart + taglen - 1]) && taglen > 0)
+ while (isspace((UINT8)str[tagstart + taglen - 1]) && taglen > 0)
taglen--;
- while (isspace(str[valstart]) && vallen > 0)
+ while (isspace((UINT8)str[valstart]) && vallen > 0)
valstart++, vallen--;
- while (isspace(str[valstart + vallen - 1]) && vallen > 0)
+ while (isspace((UINT8)str[valstart + vallen - 1]) && vallen > 0)
vallen--;
if (str[valstart] == '!')
valstart++, vallen--;