summaryrefslogtreecommitdiffstats
path: root/bin/expr/expr.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-21 15:54:44 +0000
committerderaadt <deraadt@openbsd.org>2013-11-21 15:54:44 +0000
commitcd3e3e8c828df7135a96ffc7b87604194d0847c4 (patch)
tree3be2c9e010996308a5a88348419c138a1f4d063f /bin/expr/expr.c
parentInitial support for the integrated Lynx Point and Lynx Point LP Ethernet (diff)
downloadwireguard-openbsd-cd3e3e8c828df7135a96ffc7b87604194d0847c4.tar.xz
wireguard-openbsd-cd3e3e8c828df7135a96ffc7b87604194d0847c4.zip
add unsigned char casts for specific calls to ctype.h macros.
ok guenther step
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;