summaryrefslogtreecommitdiff
path: root/bin/expr/expr.c
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1998-11-04 14:11:12 +0000
committerchristos <christos@NetBSD.org>1998-11-04 14:11:12 +0000
commitcdd6e9ea701041cd5efe363df6decfd1d28dacd4 (patch)
tree09cf3bbf70a6ec91c8e5e0ff4ae81c78858fb943 /bin/expr/expr.c
parent87defac18b6162ec99399e8752ac1b348ee9f819 (diff)
cast is*() to unsigned char
Diffstat (limited to 'bin/expr/expr.c')
-rw-r--r--bin/expr/expr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/expr/expr.c b/bin/expr/expr.c
index 53234270503..196c0e4d1c3 100644
--- a/bin/expr/expr.c
+++ b/bin/expr/expr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: expr.c,v 1.9 1998/07/28 11:41:48 mycroft Exp $ */
+/* $NetBSD: expr.c,v 1.10 1998/11/04 14:11:12 christos Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
@@ -122,7 +122,7 @@ is_integer(vp, r)
s++;
while (*s) {
- if (!isdigit(*s))
+ if (!isdigit((unsigned char)*s))
return 0;
i *= 10;