summaryrefslogtreecommitdiff
path: root/www/ap2-ruby/patches/patch-ac
blob: a9460ee41b584cca96c7314fecf3ae8d8a9e2d28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1 2004/11/28 15:34:06 taca Exp $

--- apache_request.c.orig	2004-09-24 03:43:18.000000000 +0900
+++ apache_request.c
@@ -230,7 +230,7 @@ static unsigned int utf8_convert(char *s
 		x = x * 16 + str[i] - '0';
 	    }
 	    else {
-		str[i] = tolower( str[i] );
+		str[i] = tolower((unsigned int)str[i] );
 		x = x * 16 + str[i] - 'a' + 10;
 	    }
 	}