summaryrefslogtreecommitdiff
path: root/usr.bin/tftp
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 21:08:13 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2013-11-26 21:08:13 +0000
commitadd24db9795dd87127bdfcb25ea4e9d4701e1325 (patch)
tree7bc475b6af62fdfe4f9b4d34e728f939ffe573ee /usr.bin/tftp
parent96ad4376bc5f964641b6f826e0b887ea43611c77 (diff)
unsigned char casts for ctype
ok okan
Diffstat (limited to 'usr.bin/tftp')
-rw-r--r--usr.bin/tftp/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tftp/main.c b/usr.bin/tftp/main.c
index e69c0467189..debf8dfcca8 100644
--- a/usr.bin/tftp/main.c
+++ b/usr.bin/tftp/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.33 2012/05/21 13:14:30 gsoares Exp $ */
+/* $OpenBSD: main.c,v 1.34 2013/11/26 21:08:12 deraadt Exp $ */
/* $NetBSD: main.c,v 1.6 1995/05/21 16:54:10 mycroft Exp $ */
/*
@@ -669,13 +669,13 @@ makeargv(void)
ret = 1;
break;
}
- while (isspace(*cp))
+ while (isspace((unsigned char)*cp))
cp++;
if (*cp == '\0')
break;
*argp++ = cp;
margc += 1;
- while (*cp != '\0' && !isspace(*cp))
+ while (*cp != '\0' && !isspace((unsigned char)*cp))
cp++;
if (*cp == '\0')
break;