summaryrefslogtreecommitdiffstats
path: root/Parser/tokenizer.c
diff options
context:
space:
mode:
Diffstat (limited to 'Parser/tokenizer.c')
-rw-r--r--Parser/tokenizer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 8490ae9..800a166 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -228,8 +228,8 @@ get_coding_spec(const char *s, int size)
} while (t[0] == '\x20' || t[0] == '\t');
begin = t;
- while (isalnum(t[0]) || t[0] == '-' || t[0] == '_' ||
- t[0] == '.')
+ while (isalnum((int)t[0]) ||
+ t[0] == '-' || t[0] == '_' || t[0] == '.')
t++;
if (begin < t) {