$NetBSD: patch-am,v 1.1 2005/03/22 14:57:12 cube Exp $ --- src/smbencrypt.c.orig 2004-05-14 21:45:14.000000000 +0200 +++ src/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++; } }