summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/authenticate.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-24 23:51:28 +0000
committerderaadt <deraadt@openbsd.org>2013-11-24 23:51:28 +0000
commitdfe5467e3c6b93ccc8be21818dca4babdc79fd90 (patch)
tree38c9171a2ed326bfcda1e4e5c4dd927317ae17a4 /lib/libc/gen/authenticate.c
parentIncrease NMBCLUSTERS a bit. Riding upon the kernel memory saved by the pmap (diff)
downloadwireguard-openbsd-dfe5467e3c6b93ccc8be21818dca4babdc79fd90.tar.xz
wireguard-openbsd-dfe5467e3c6b93ccc8be21818dca4babdc79fd90.zip
most obvious unsigned char casts for ctype
ok jca krw ingo
Diffstat (limited to 'lib/libc/gen/authenticate.c')
-rw-r--r--lib/libc/gen/authenticate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/authenticate.c b/lib/libc/gen/authenticate.c
index 13ed2e33292..0c2d95369d8 100644
--- a/lib/libc/gen/authenticate.c
+++ b/lib/libc/gen/authenticate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: authenticate.c,v 1.19 2013/09/30 12:02:32 millert Exp $ */
+/* $OpenBSD: authenticate.c,v 1.20 2013/11/24 23:51:29 deraadt Exp $ */
/*-
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
@@ -87,7 +87,7 @@ auth_mkvalue(char *value)
*p++ = *value;
break;
default:
- if (!isprint(*value)) {
+ if (!isprint((unsigned char)*value)) {
*p++ = '\\';
*p++ = ((*value >> 6) & 0x3) + '0';
*p++ = ((*value >> 3) & 0x7) + '0';