From 1c171e3add096f5fbecceefd19f21a43c08b5509 Mon Sep 17 00:00:00 2001 From: rsc Date: Tue, 19 Jul 2005 18:00:07 +0000 Subject: I just hate to be pushed around by some @#$%^& machine. --- src/cmd/tail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cmd/tail.c') diff --git a/src/cmd/tail.c b/src/cmd/tail.c index db29986d..b40552bf 100644 --- a/src/cmd/tail.c +++ b/src/cmd/tail.c @@ -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; } -- cgit v1.2.3