summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry>2009-04-19 09:15:47 +0000
committergmcgarry <gmcgarry>2009-04-19 09:15:47 +0000
commit6d4fc4ef80da9f18839c000710bfec8844024990 (patch)
tree40648a3d03a4790391bfe9c9455ae002cb8a33c3
parentf154b7b2d48b608a469850e87c707dcab4f4ac76 (diff)
Avoid build failure: isdigit() expects an integer argument.
-rw-r--r--token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/token.c b/token.c
index 5173a4e..aaa51d1 100644
--- a/token.c
+++ b/token.c
@@ -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);