Index: unac.c =================================================================== --- unac.c +++ unac.c 2007-11-25 03:04:54.000000000 +0100 @@ -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;