diff options
Diffstat (limited to 'src/bitmap')
-rw-r--r-- | src/bitmap/bdfutils.c | 4 |
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); |