summaryrefslogtreecommitdiffstats
path: root/bin/expr/expr.c
diff options
context:
space:
mode:
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 085ed7114d3..e8f6dffac2b 100644
--- a/bin/expr/expr.c
+++ b/bin/expr/expr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: expr.c,v 1.18 2013/03/28 08:40:31 nicm Exp $ */
+/* $OpenBSD: expr.c,v 1.19 2013/11/21 15:54:45 deraadt Exp $ */
/* $NetBSD: expr.c,v 1.3.6.1 1996/06/04 20:41:47 cgd Exp $ */
/*
@@ -116,7 +116,7 @@ is_integer(struct val *vp, int *r)
s++;
while (*s) {
- if (!isdigit(*s))
+ if (!isdigit((unsigned char)*s))
return 0;
i *= 10;