From ac83f64eca8591ee3316e8be80a07e59349de5ee Mon Sep 17 00:00:00 2001 From: abs Date: Mon, 29 Mar 1999 09:27:29 +0000 Subject: [PATCH] Cast argument to isspace to (unsigned char) to pass zoularis. --- lib/libc/gen/getcap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/libc/gen/getcap.c b/lib/libc/gen/getcap.c index 288eb7ce3f2a..e3f43ac4b215 100644 --- a/lib/libc/gen/getcap.c +++ b/lib/libc/gen/getcap.c @@ -1,4 +1,4 @@ -/* $NetBSD: getcap.c,v 1.28 1999/03/23 02:58:50 abs Exp $ */ +/* $NetBSD: getcap.c,v 1.29 1999/03/29 09:27:29 abs Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -41,7 +41,7 @@ #if 0 static char sccsid[] = "@(#)getcap.c 8.3 (Berkeley) 3/25/94"; #else -__RCSID("$NetBSD: getcap.c,v 1.28 1999/03/23 02:58:50 abs Exp $"); +__RCSID("$NetBSD: getcap.c,v 1.29 1999/03/29 09:27:29 abs Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -120,8 +120,8 @@ cgetset(ent) *dest++ = *source++; /* Do not check first field */ while (*source == ':') { check=source+1; - while (*check && (isspace(*check) || - (*check=='\\' && isspace(check[1]))) ) + while (*check && (isspace((unsigned char)*check) || + (*check=='\\' && isspace((unsigned char)check[1])))) ++check; if( *check == ':' ) source=check;