NetBSD-macppc ctype needs uchars.
This commit is contained in:
parent
94d85bc000
commit
3bd56b04a8
22 changed files with 55 additions and 56 deletions
|
|
@ -22,11 +22,11 @@ scanform(long icount, int prt, char *ifp, Map *map, int literal)
|
|||
savdot=dot;
|
||||
/*now loop over format*/
|
||||
while (*fp) {
|
||||
if (!isdigit(*fp))
|
||||
if (!isdigit((uchar)*fp))
|
||||
fcount = 1;
|
||||
else {
|
||||
fcount = 0;
|
||||
while (isdigit(c = *fp++)) {
|
||||
while (isdigit((uchar)c = *fp++)) {
|
||||
fcount *= 10;
|
||||
fcount += c-'0';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue