summaryrefslogtreecommitdiff
path: root/sysutils/gkrellm/patches/patch-am
blob: 92d641e5bd031d014dcfca14de75b47e54a47107 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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++;
       }
     }