summaryrefslogtreecommitdiff
path: root/bin
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
parent040da092ae406488a673ab14d7ed7a3a60ea870a (diff)
char -> unsigned char
Diffstat (limited to 'bin')
-rw-r--r--bin/sleep/sleep.c6
-rw-r--r--bin/test/test.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/bin/sleep/sleep.c b/bin/sleep/sleep.c
index 87785b9772e..62c892810f2 100644
--- a/bin/sleep/sleep.c
+++ b/bin/sleep/sleep.c
@@ -1,4 +1,4 @@
-/* $NetBSD: sleep.c,v 1.15 1998/07/28 11:41:58 mycroft Exp $ */
+/* $NetBSD: sleep.c,v 1.16 1998/11/04 20:13:03 christos Exp $ */
/*
* Copyright (c) 1988, 1993, 1994
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993, 1994\n\
#if 0
static char sccsid[] = "@(#)sleep.c 8.3 (Berkeley) 4/2/94";
#else
-__RCSID("$NetBSD: sleep.c,v 1.15 1998/07/28 11:41:58 mycroft Exp $");
+__RCSID("$NetBSD: sleep.c,v 1.16 1998/11/04 20:13:03 christos Exp $");
#endif
#endif /* not lint */
@@ -102,7 +102,7 @@ main(argc, argv)
fracflag = 0;
arg = *argv;
for (temp = arg; *temp != '\0'; temp++)
- if (!isdigit(*temp))
+ if (!isdigit((unsigned char)*temp))
fracflag++;
if (fracflag) {
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)