summaryrefslogtreecommitdiff
blob: 5bd45f6f2ad691498f4b64e8515a2f80807ab0c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -ur Text-Unaccent-1.08/unac.c Text-Unaccent-1.08-mod/unac.c
--- Text-Unaccent-1.08/unac.c	2004-10-17 12:00:36.000000000 -0700
+++ Text-Unaccent-1.08-mod/unac.c	2006-08-24 22:37:35.000000000 -0700
@@ -13881,9 +13881,9 @@
     *out_lengthp = 0;
   } else {
     char* utf16 = 0;
-    int utf16_length = 0;
+    size_t utf16_length = 0;
     char* utf16_unaccented = 0;
-    int utf16_unaccented_length = 0;
+    size_t utf16_unaccented_length = 0;
   
     if(convert(charset, utf16be(), in, in_length, &utf16, &utf16_length) < 0) {
       return -1;
diff -ur Text-Unaccent-1.08/Unaccent.xs Text-Unaccent-1.08-mod/Unaccent.xs
--- Text-Unaccent-1.08/Unaccent.xs	2004-12-29 03:45:18.000000000 -0800
+++ Text-Unaccent-1.08-mod/Unaccent.xs	2006-08-24 22:35:57.000000000 -0700
@@ -35,7 +35,7 @@
 #include "unac.h"
 
 static char* buffer;
-static int buffer_length;
+static size_t buffer_length;
 
 static void unac_debug_print(const char* message, void* data)
 {