summaryrefslogtreecommitdiffstats
path: root/contrib/awk/eval.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-10-26 12:14:54 +0000
committerache <ache@FreeBSD.org>1997-10-26 12:14:54 +0000
commit105ae2c382b7a2c0420be6bd7b24da661805d6d2 (patch)
tree39b4d1af3e193a0ac6091c29ec198e975aeec4ba /contrib/awk/eval.c
parent1433c9c29edb81cd29e7e2b588d73ec32b9698b6 (diff)
downloadFreeBSD-src-105ae2c382b7a2c0420be6bd7b24da661805d6d2.zip
FreeBSD-src-105ae2c382b7a2c0420be6bd7b24da661805d6d2.tar.gz
Back out (unsigned char) cast, will use -funsigned-char instead
Diffstat (limited to 'contrib/awk/eval.c')
-rw-r--r--contrib/awk/eval.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/awk/eval.c b/contrib/awk/eval.c
index 6ba00f6a..aa2e881 100644
--- a/contrib/awk/eval.c
+++ b/contrib/awk/eval.c
@@ -1652,13 +1652,13 @@ NODE *n;
return 0;
while (*p && strchr(" +-#", *p) != NULL) /* flags */
p++;
- while (*p && isdigit((unsigned char)*p)) /* width - %*.*g is NOT allowed */
+ while (*p && isdigit(*p)) /* width - %*.*g is NOT allowed */
p++;
- if (*p == '\0' || (*p != '.' && ! isdigit((unsigned char)*p)))
+ if (*p == '\0' || (*p != '.' && ! isdigit(*p)))
return 0;
if (*p == '.')
p++;
- while (*p && isdigit((unsigned char)*p)) /* precision */
+ while (*p && isdigit(*p)) /* precision */
p++;
if (*p == '\0' || strchr("efgEG", *p) == NULL)
return 0;
OpenPOWER on IntegriCloud