aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/getflags
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-09-09 23:16:15 +0000
committerrsc <devnull@localhost>2005-09-09 23:16:15 +0000
commit3bd56b04a8bab7208494fd7dc74af5528fc41604 (patch)
treeedf470d36f67c5726bc93f1b4bc185a516b888b9 /src/cmd/getflags
parent94d85bc000866ecb4874e0e5bdcf30de4a84862e (diff)
downloadplan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.gz
plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.tar.bz2
plan9port-3bd56b04a8bab7208494fd7dc74af5528fc41604.zip
NetBSD-macppc ctype needs uchars.
Diffstat (limited to 'src/cmd/getflags')
-rw-r--r--src/cmd/getflags/funcgetflags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/getflags/funcgetflags.c b/src/cmd/getflags/funcgetflags.c
index a88e99f2..d0686679 100644
--- a/src/cmd/getflags/funcgetflags.c
+++ b/src/cmd/getflags/funcgetflags.c
@@ -107,7 +107,7 @@ scanflag(int c, char *f)
fc=*f++;
if(*f==':'){
f++;
- if(!isdigit(*f)){ reason=FLAGSYN; return -1; }
+ if(!isdigit((uchar)*f)){ reason=FLAGSYN; return -1; }
count=strtol(f, &f, 10);
}
else