summaryrefslogtreecommitdiff
path: root/lib/libc/net
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-10-22 23:55:52 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-10-22 23:55:52 +0000
commit236bf86c45fe6318bb1a8c59dbba4fabecc7c3d7 (patch)
treee6c970e401f678159fbbeeb5308b56aeb4c4c52d /lib/libc/net
parent6a684a8c5169aaa4e3d8fe521b07fd69fc7ebd34 (diff)
Cast ctype function arguments to unsigned char.
ok guenther@
Diffstat (limited to 'lib/libc/net')
-rw-r--r--lib/libc/net/inet_network.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/inet_network.c b/lib/libc/net/inet_network.c
index ef8f21b2800..7b0cf50e796 100644
--- a/lib/libc/net/inet_network.c
+++ b/lib/libc/net/inet_network.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: inet_network.c,v 1.12 2015/09/13 21:36:08 guenther Exp $ */
+/* $OpenBSD: inet_network.c,v 1.13 2015/10/22 23:55:51 mmcc Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
@@ -71,7 +71,7 @@ again:
*pp++ = val, cp++;
goto again;
}
- if (*cp && !isspace(*cp))
+ if (*cp && !isspace((unsigned char)*cp))
return (INADDR_NONE);
*pp++ = val;
n = pp - parts;