aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/pre-process.c
diff options
context:
space:
mode:
Diffstat (limited to 'pre-process.c')
-rw-r--r--pre-process.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pre-process.c b/pre-process.c
index c8725dc8..d96035e2 100644
--- a/pre-process.c
+++ b/pre-process.c
@@ -1426,7 +1426,7 @@ void predefine(const char *name, int weak, const char *fmt, ...)
va_end(ap);
value = __alloc_token(0);
- if (isdigit(buf[0])) {
+ if (isdigit((unsigned char)buf[0])) {
token_type(value) = TOKEN_NUMBER;
value->number = xstrdup(buf);
} else {