diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-01 23:12:05 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2011-02-01 23:12:05 +0200 |
commit | 817ceaf211807bac2586621d1372419c15459e71 (patch) | |
tree | 2062142b09a193de4b0df99d812d05554019465c /awkgram.c | |
parent | dd5323a5c859ed8d6ecbc2e6828611c4ed8aa056 (diff) | |
download | egawk-817ceaf211807bac2586621d1372419c15459e71.tar.gz egawk-817ceaf211807bac2586621d1372419c15459e71.tar.bz2 egawk-817ceaf211807bac2586621d1372419c15459e71.zip |
Fix ctype calls on Cygwin.
Diffstat (limited to 'awkgram.c')
-rw-r--r-- | awkgram.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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') |