summaryrefslogtreecommitdiffstatshomepage
path: root/src/tools/chdman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/chdman.c')
-rw-r--r--src/tools/chdman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/chdman.c b/src/tools/chdman.c
index 0f2a8e8957c..8165710ab4f 100644
--- a/src/tools/chdman.c
+++ b/src/tools/chdman.c
@@ -313,7 +313,7 @@ static int do_createhd(int argc, char *argv[], int param)
/* if there are any non-digits in the 'offset', then treat it as a ident file */
for (scan = argv[4]; *scan != 0; scan++)
- if (!isdigit(*scan))
+ if (!isdigit((UINT8)*scan))
break;
if (*scan != 0)
{