summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormmcc <mmcc@cvs.openbsd.org>2015-10-16 18:21:44 +0000
committermmcc <mmcc@cvs.openbsd.org>2015-10-16 18:21:44 +0000
commit7714c78afb79c7f9b22cde9b19fc8d04c56b0a94 (patch)
tree8b4f07928dfcf832bc2d8a175d3658c4c24762ca
parent6d4ee4c888f902925d4082a8e4a57de2006a2a44 (diff)
Cast isspace() argument to unsigned char.
ok jca@
-rw-r--r--usr.bin/mail/fio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mail/fio.c b/usr.bin/mail/fio.c
index a10545f77cc..8f30b9acb57 100644
--- a/usr.bin/mail/fio.c
+++ b/usr.bin/mail/fio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fio.c,v 1.35 2015/10/16 17:56:07 mmcc Exp $ */
+/* $OpenBSD: fio.c,v 1.36 2015/10/16 18:21:43 mmcc Exp $ */
/* $NetBSD: fio.c,v 1.8 1997/07/07 22:57:55 phil Exp $ */
/*
@@ -142,7 +142,7 @@ setptr(FILE *ibuf, off_t offset)
} else if (inhead) {
for (cp = linebuf, cp2 = "status";; cp++) {
if ((c = (unsigned char)*cp2++) == 0) {
- while (isspace(*cp++))
+ while (isspace((unsigned char)*cp++))
;
if (cp[-1] != ':')
break;