diff options
author | 2013-11-21 15:54:44 +0000 | |
---|---|---|
committer | 2013-11-21 15:54:44 +0000 | |
commit | cd3e3e8c828df7135a96ffc7b87604194d0847c4 (patch) | |
tree | 3be2c9e010996308a5a88348419c138a1f4d063f /bin/systrace/util.c | |
parent | Initial support for the integrated Lynx Point and Lynx Point LP Ethernet (diff) | |
download | wireguard-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/systrace/util.c')
-rw-r--r-- | bin/systrace/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/systrace/util.c b/bin/systrace/util.c index 082792ec23a..7ba2f460065 100644 --- a/bin/systrace/util.c +++ b/bin/systrace/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.11 2006/04/26 20:19:25 sturm Exp $ */ +/* $OpenBSD: util.c,v 1.12 2013/11/21 15:54:46 deraadt Exp $ */ /* * Copyright 2002 Niels Provos <provos@citi.umich.edu> * All rights reserved. @@ -81,7 +81,7 @@ strrpl(char *str, size_t size, char *match, char *value) /* Try to match against the variable */ while ((p = strchr(p, match[0])) != NULL) { - if (!strncmp(p, match, len) && !isalnum(p[len])) + if (!strncmp(p, match, len) && !isalnum((unsigned char)p[len])) break; p += len; |