summaryrefslogtreecommitdiff
path: root/net/gift-openft/patches/patch-ab
blob: 89baf52aa187fc5bde3864c0497d9d783bd5f234 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1 2004/07/27 15:39:21 recht Exp $

--- src/ft_search_exec.c.orig	2004-07-27 22:32:38.000000000 +0800
+++ src/ft_search_exec.c
@@ -235,7 +235,7 @@ static int next_letter (const char **str
 		len--;
 	}
 
-	c = tolower (*str);
+	c = tolower ((unsigned char)*str);
 	assert (c != '\0');
 
 	*strref = str + 1;