summaryrefslogtreecommitdiffstats
path: root/app-dicts/libtranslate/files/libtranslate-ds-memory.patch
blob: e05c7b47657a621f5090ec27d8fe05bd4b656efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -dPNur libtranslate-0.99/src/translate-util.c libtranslate-0.99-new/src/translate-util.c
--- libtranslate-0.99/src/translate-util.c	2005-01-17 16:45:45.000000000 +0000
+++ libtranslate-0.99-new/src/translate-util.c	2005-12-29 18:35:04.000000000 +0000
@@ -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);