I just hate to be pushed around by some @#$%^& machine.

This commit is contained in:
rsc 2005-07-19 18:00:07 +00:00
parent 86a1a5e7b3
commit 1c171e3add
15 changed files with 29 additions and 29 deletions

View file

@ -331,7 +331,7 @@ getnumber(char *s)
{
if(*s=='-' || *s=='+')
s++;
if(!isdigit(*s))
if(!isdigit((uchar)*s))
return 0;
if(s[-1] == '+')
origin = BEG;
@ -340,7 +340,7 @@ getnumber(char *s)
count = atol(s);
/* check range of count */
if(count < 0 || (int)count != count)
if(count < 0 || (int)count != count)
fatal("too big");
return 1;
}