diff options
author | 2013-11-24 23:51:28 +0000 | |
---|---|---|
committer | 2013-11-24 23:51:28 +0000 | |
commit | dfe5467e3c6b93ccc8be21818dca4babdc79fd90 (patch) | |
tree | 38c9171a2ed326bfcda1e4e5c4dd927317ae17a4 /lib/libc/asr/asr_utils.c | |
parent | Increase NMBCLUSTERS a bit. Riding upon the kernel memory saved by the pmap (diff) | |
download | wireguard-openbsd-dfe5467e3c6b93ccc8be21818dca4babdc79fd90.tar.xz wireguard-openbsd-dfe5467e3c6b93ccc8be21818dca4babdc79fd90.zip |
most obvious unsigned char casts for ctype
ok jca krw ingo
Diffstat (limited to 'lib/libc/asr/asr_utils.c')
-rw-r--r-- | lib/libc/asr/asr_utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/asr/asr_utils.c b/lib/libc/asr/asr_utils.c index f5a1da8a528..20b10c58fa8 100644 --- a/lib/libc/asr/asr_utils.c +++ b/lib/libc/asr/asr_utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: asr_utils.c,v 1.8 2013/07/12 14:36:21 eric Exp $ */ +/* $OpenBSD: asr_utils.c,v 1.9 2013/11/24 23:51:29 deraadt Exp $ */ /* * Copyright (c) 2009-2012 Eric Faurot <eric@faurot.net> * @@ -55,7 +55,7 @@ dname_check_label(const char *s, size_t l) return (-1); for (l--; l; l--, s++) - if (!(isalnum(*s) || *s == '_' || *s == '-')) + if (!(isalnum((unsigned char)*s) || *s == '_' || *s == '-')) return (-1); return (0); |