diff options
author | rsc <devnull@localhost> | 2005-09-09 23:49:50 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-09-09 23:49:50 +0000 |
commit | 038f8db24a76e864adfd5d03e60d9da0ef929a73 (patch) | |
tree | 270300ff2c55bfa48bebd09b6e08c7f705b38ada | |
parent | 438503b4c3db639bb1ee9247e96979364c44389f (diff) | |
download | plan9port-038f8db24a76e864adfd5d03e60d9da0ef929a73.tar.gz plan9port-038f8db24a76e864adfd5d03e60d9da0ef929a73.tar.bz2 plan9port-038f8db24a76e864adfd5d03e60d9da0ef929a73.zip |
Add uchar for NetBSD ctype.
-rw-r--r-- | src/libdraw/x11-init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c index 537920d2..72292671 100644 --- a/src/libdraw/x11-init.c +++ b/src/libdraw/x11-init.c @@ -875,7 +875,7 @@ parsewinsize(char *s, Rectangle *r, int *havemin) os = s; *havemin = 0; *r = Rect(0,0,0,0); - if(!isdigit(*s)) + if(!isdigit((uchar)*s)) goto oops; i = strtol(s, &s, 0); if(*s == 'x'){ |