Switch to unified view
a/src/unac/unac.c | b/src/unac/unac.c | ||
---|---|---|---|
... |
... |
||
12813 | *outp = malloc(32); |
12813 | *outp = malloc(32); |
12814 | (*outp)[0] = '\0'; |
12814 | (*outp)[0] = '\0'; |
12815 | *out_lengthp = 0; |
12815 | *out_lengthp = 0; |
12816 | } else { |
12816 | } else { |
12817 | char* utf16 = 0; |
12817 | char* utf16 = 0; |
12818 | int utf16_length = 0;
|
12818 | size_t utf16_length = 0; |
12819 | char* utf16_unaccented = 0; |
12819 | char* utf16_unaccented = 0; |
12820 | int utf16_unaccented_length = 0;
|
12820 | size_t utf16_unaccented_length = 0; |
12821 | 12821 | ||
12822 | if(convert(charset, utf16be(), in, in_length, &utf16, &utf16_length) < 0) { |
12822 | if(convert(charset, utf16be(), in, in_length, &utf16, &utf16_length) < 0) { |
12823 | return -1; |
12823 | return -1; |
12824 | } |
12824 | } |
12825 | 12825 |