summaryrefslogtreecommitdiffstats
path: root/lib/libwrap/options.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-11-22 07:49:44 +0000
committerderaadt <deraadt@openbsd.org>2013-11-22 07:49:44 +0000
commitd957560ab0e224f26cf36cf95183786bfcc3a424 (patch)
tree6342f9bf592f64210dff24abfe856f8b9eef054e /lib/libwrap/options.c
parentComment out more ioctls that are part of the v4l2 API but that we don't (diff)
downloadwireguard-openbsd-d957560ab0e224f26cf36cf95183786bfcc3a424.tar.xz
wireguard-openbsd-d957560ab0e224f26cf36cf95183786bfcc3a424.zip
obvious cast for isspace()
Diffstat (limited to 'lib/libwrap/options.c')
-rw-r--r--lib/libwrap/options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libwrap/options.c b/lib/libwrap/options.c
index 0a4fcc131f2..67990952ff5 100644
--- a/lib/libwrap/options.c
+++ b/lib/libwrap/options.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: options.c,v 1.7 2013/11/13 22:37:15 deraadt Exp $ */
+/* $OpenBSD: options.c,v 1.8 2013/11/22 07:49:44 deraadt Exp $ */
/*
* General skeleton for adding options to the access control language. The
@@ -619,7 +619,7 @@ register char *string;
char *cp;
for (cp = string; *cp; cp++) {
- if (!isspace(*cp)) {
+ if (!isspace((unsigned char)*cp)) {
if (start == 0)
start = cp;
end = cp;