From 3bd56b04a8bab7208494fd7dc74af5528fc41604 Mon Sep 17 00:00:00 2001 From: rsc Date: Fri, 9 Sep 2005 23:16:15 +0000 Subject: NetBSD-macppc ctype needs uchars. --- src/cmd/acid/lex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/acid') diff --git a/src/cmd/acid/lex.c b/src/cmd/acid/lex.c index d978407f..e47452a4 100644 --- a/src/cmd/acid/lex.c +++ b/src/cmd/acid/lex.c @@ -524,7 +524,7 @@ numsym(char first) if(first == '.') isfloat = 1; - if(isdigit(*p++) || isfloat) { + if(isdigit((uchar)*p++) || isfloat) { for(;;) { c = lexc(); if(c < 0) -- cgit v1.2.3