aboutsummaryrefslogtreecommitdiffstats
path: root/awkgram.c
diff options
context:
space:
mode:
Diffstat (limited to 'awkgram.c')
-rw-r--r--awkgram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/awkgram.c b/awkgram.c
index aff24d06..b583c8da 100644
--- a/awkgram.c
+++ b/awkgram.c
@@ -5938,7 +5938,7 @@ retry:
yylval = GET_INSTRUCTION(Op_push_i);
if (! do_traditional && isnondecimal(tokstart, FALSE)) {
if (do_lint) {
- if (isdigit(tokstart[1])) /* not an 'x' or 'X' */
+ if (isdigit((unsigned char) tokstart[1])) /* not an 'x' or 'X' */
lintwarn("numeric constant `%.*s' treated as octal",
(int) strlen(tokstart)-1, tokstart);
else if (tokstart[1] == 'x' || tokstart[1] == 'X')