From 363ecde5ca116b7ab50a7554f9dd66b4770c0c81 Mon Sep 17 00:00:00 2001 From: christos Date: Fri, 6 Nov 1998 19:20:12 +0000 Subject: [PATCH] char -> unsigned char --- lib/libtelnet/genget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libtelnet/genget.c b/lib/libtelnet/genget.c index d71280734c56..1d455fe71910 100644 --- a/lib/libtelnet/genget.c +++ b/lib/libtelnet/genget.c @@ -1,4 +1,4 @@ -/* $NetBSD: genget.c,v 1.7 1998/02/27 10:33:46 christos Exp $ */ +/* $NetBSD: genget.c,v 1.8 1998/11/06 19:20:12 christos Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)genget.c 8.2 (Berkeley) 5/30/95"; #else -__RCSID("$NetBSD: genget.c,v 1.7 1998/02/27 10:33:46 christos Exp $"); +__RCSID("$NetBSD: genget.c,v 1.8 1998/11/06 19:20:12 christos Exp $"); #endif #endif /* not lint */ @@ -46,7 +46,7 @@ __RCSID("$NetBSD: genget.c,v 1.7 1998/02/27 10:33:46 christos Exp $"); #include #include "misc.h" -#define LOWER(x) (isupper(x) ? tolower(x) : (x)) +#define LOWER(x) (isupper((unsigned char)x) ? tolower(x) : (x)) /* * The prefix function returns 0 if *s1 is not a prefix * of *s2. If *s1 exactly matches *s2, the negative of