diff options
author | gmcgarry <gmcgarry> | 2009-04-19 09:15:47 +0000 |
---|---|---|
committer | gmcgarry <gmcgarry> | 2009-04-19 09:15:47 +0000 |
commit | 6d4fc4ef80da9f18839c000710bfec8844024990 (patch) | |
tree | 40648a3d03a4790391bfe9c9455ae002cb8a33c3 | |
parent | f154b7b2d48b608a469850e87c707dcab4f4ac76 (diff) |
Avoid build failure: isdigit() expects an integer argument.
-rw-r--r-- | token.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -213,7 +213,7 @@ ppnum: for (;;) { num: if (YYSTATE == IFR) cvtdig(scale); PRTOUT(NUMBER); - } else if (yytext[0] == '0' && isdigit(yytext[1])) { + } else if (yytext[0] == '0' && isdigit((int)yytext[1])) { scale = 8; goto num; } else if (haspmd) { PRTOUT(FPOINT); |