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/postscript/tr2post/readDESC.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/cmd/postscript/tr2post/readDESC.c') diff --git a/src/cmd/postscript/tr2post/readDESC.c b/src/cmd/postscript/tr2post/readDESC.c index 600fc174..366bae70 100644 --- a/src/cmd/postscript/tr2post/readDESC.c +++ b/src/cmd/postscript/tr2post/readDESC.c @@ -79,7 +79,7 @@ readDESC(void) { break; case 2: if (fontmnt <=0) { - if (!isdigit(*token)) { + if (!isdigit((uchar)*token)) { error(WARNING, "readdesc: expecting number of fonts in mount table.\n"); return(FALSE); } @@ -99,7 +99,7 @@ readDESC(void) { break; case 4: /* device resolution in dots per inch */ - if (!isdigit(*token)) { + if (!isdigit((uchar)*token)) { error(WARNING, "readdesc: expecting device resolution.\n"); return(FALSE); } @@ -116,7 +116,7 @@ readDESC(void) { break; case 7: /* unitwidth is the font size at which the character widths are 1:1 */ - if (!isdigit(*token)) { + if (!isdigit((uchar)*token)) { error(WARNING, "readdesc: expecting unitwidth.\n"); return(FALSE); } -- cgit v1.2.3