summaryrefslogtreecommitdiff
path: root/src/bitmap/bdfutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bitmap/bdfutils.c')
-rw-r--r--src/bitmap/bdfutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bitmap/bdfutils.c b/src/bitmap/bdfutils.c
index 288148b..438d197 100644
--- a/src/bitmap/bdfutils.c
+++ b/src/bitmap/bdfutils.c
@@ -207,11 +207,11 @@ bdfIsInteger(char *str)
char c;
c = *str++;
- if (!(isdigit(c) || c == '-' || c == '+'))
+ if (!(isdigit((unsigned char)c) || c == '-' || c == '+'))
return (FALSE);
while ((c = *str++))
- if (!isdigit(c))
+ if (!isdigit((unsigned char)c))
return (FALSE);
return (TRUE);