summaryrefslogtreecommitdiff
blob: cf6b37a74eaaf1d61dc9be0146fb271be2ec85df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur libtranslate-0.99.orig/src/translate-util.c libtranslate-0.99/src/translate-util.c
--- libtranslate-0.99.orig/src/translate-util.c	2005-01-17 17:45:45.000000000 +0100
+++ libtranslate-0.99/src/translate-util.c	2007-09-02 16:44:47.000000000 +0200
@@ -136,7 +136,7 @@
   g_return_val_if_fail(big != NULL, NULL);
   g_return_val_if_fail(little != NULL, NULL);
 
-  lower_big = g_ascii_strdown(big, big_len);
+  lower_big = g_ascii_strdown(big, (int) big_len);
   lower_little = g_ascii_strdown(little, -1);
 
   s = strstr(lower_big, lower_little);