summaryrefslogtreecommitdiff
path: root/usr.sbin/ypbind
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-24 01:06:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-24 01:06:20 +0000
commit9fa5a397426b739e9289fb6fde63a7b1d505db1c (patch)
treecda1e16693ec05345ea20c73c742be5c2748ebe1 /usr.sbin/ypbind
parenta558abec9359523a726dbcdbdf990d25b9e1fa65 (diff)
more unsigned char casts for ctype
ok jca
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r--usr.sbin/ypbind/ypbind.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c
index 4fdd29a4c38..122530fa124 100644
--- a/usr.sbin/ypbind/ypbind.c
+++ b/usr.sbin/ypbind/ypbind.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ypbind.c,v 1.59 2009/10/27 23:59:57 deraadt Exp $ */
+/* $OpenBSD: ypbind.c,v 1.60 2013/11/24 01:06:19 deraadt Exp $ */
/*
* Copyright (c) 1992, 1993, 1996, 1997, 1998 Theo de Raadt <deraadt@openbsd.org>
@@ -839,7 +839,7 @@ direct(struct _dom_binding *ypdb, char *buf, int outlen)
}
*p = '\0';
p = line;
- while (isspace(*p))
+ while (isspace((unsigned char)*p))
p++;
if (*p == '#')
continue;