summaryrefslogtreecommitdiff
path: root/sysutils/open-vm-tools/patches/patch-bi
blob: 3edc79b3edd6c1bbcf305c3ee5ef515257782a98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-bi,v 1.1 2008/08/31 06:36:48 scottr Exp $

--- lib/unicode/unicodeSimpleTypes.c.orig	2008-08-08 02:01:55.000000000 -0500
+++ lib/unicode/unicodeSimpleTypes.c
@@ -2198,7 +2198,7 @@ UnicodeNormalizeEncodingName(const char 
 
    for (currentResult = result; *encodingName != '\0'; encodingName++) {
       if (isalnum((int) *encodingName)) {
-         *currentResult = tolower(*encodingName);
+         *currentResult = tolower((int)(*encodingName));
          currentResult++;
       }
    }