I just hate to be pushed around by some @#$%^& machine.
This commit is contained in:
parent
86a1a5e7b3
commit
1c171e3add
15 changed files with 29 additions and 29 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue