From 67d5e1e4ca79d86c8beedc8709efb27f83295443 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 19 Jun 2004 01:44:56 +0000 Subject: Cast arguments of is*() ctype.h functions to unsigned char to be 8-bit safe. svn path=/trunk/; revision=3903 --- smbencrypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smbencrypt.c') diff --git a/smbencrypt.c b/smbencrypt.c index 8740481d..144911b3 100644 --- a/smbencrypt.c +++ b/smbencrypt.c @@ -108,8 +108,8 @@ while (*s) s += skip; else { - if (islower(*s)) - *s = toupper(*s); + if (islower((unsigned char)*s)) + *s = toupper((unsigned char)*s); s++; } } -- cgit v1.2.3