tAdd uchar for NetBSD ctype. - plan9port - [fork] Plan 9 from user space (HTM) git clone git://src.adamsgaard.dk/plan9port (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit 038f8db24a76e864adfd5d03e60d9da0ef929a73 (DIR) parent 438503b4c3db639bb1ee9247e96979364c44389f (HTM) Author: rsc <devnull@localhost> Date: Fri, 9 Sep 2005 23:49:50 +0000 Add uchar for NetBSD ctype. Diffstat: M src/libdraw/x11-init.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- (DIR) diff --git a/src/libdraw/x11-init.c b/src/libdraw/x11-init.c t@@ -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'){