summaryrefslogtreecommitdiff
path: root/bin/test
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>1998-11-04 20:12:12 +0000
committerchristos <christos@NetBSD.org>1998-11-04 20:12:12 +0000
commit9908eacfd64221cbbd5925b23cd275c19c156b77 (patch)
tree7118826f5f7554f1af6457c5fee8db312f2db1bb /bin/test
parent040da092ae406488a673ab14d7ed7a3a60ea870a (diff)
char -> unsigned char
Diffstat (limited to 'bin/test')
-rw-r--r--bin/test/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/test/test.c b/bin/test/test.c
index 366ccda940b..d6dbe3db746 100644
--- a/bin/test/test.c
+++ b/bin/test/test.c
@@ -1,4 +1,4 @@
-/* $NetBSD: test.c,v 1.19 1998/07/28 11:41:59 mycroft Exp $ */
+/* $NetBSD: test.c,v 1.20 1998/11/04 20:12:12 christos Exp $ */
/*
* test(1); version 7-like -- author Erik Baalbergen
@@ -12,7 +12,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: test.c,v 1.19 1998/07/28 11:41:59 mycroft Exp $");
+__RCSID("$NetBSD: test.c,v 1.20 1998/11/04 20:12:12 christos Exp $");
#endif
#include <sys/types.h>
@@ -424,7 +424,7 @@ getn(s)
if (errno != 0)
errx(2, "%s: out of range", s);
- while (isspace(*p))
+ while (isspace((unsigned char)*p))
p++;
if (*p)