aboutsummaryrefslogtreecommitdiff
path: root/contrib/awk/eval.c
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1997-10-26 12:14:54 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1997-10-26 12:14:54 +0000
commitbca81101827e6862de61d441b36808ff2231b93e (patch)
treeb3e8b611a9c2ab5b08c7e0f99a4f1f9de9a17619 /contrib/awk/eval.c
parent60152ec53173fa27fc82035b85e13343afbf812e (diff)
Notes
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 6ba00f6a5c06..aa2e88162f15 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;