Fix a bunch of warnings about mixed signedness

This commit is contained in:
Denis Kenzior 2009-08-20 15:20:47 -05:00
parent 7560049829
commit fa330cafbd
1 changed files with 2 additions and 2 deletions

View File

@ -79,10 +79,10 @@ struct pb_data {
};
static char *ucs2_to_utf8(const char *str, long len)
static char *ucs2_to_utf8(const unsigned char *str, long len)
{
char *utf8;
utf8 = g_convert(str, len, "UTF-8//TRANSLIT", "UCS-2BE",
utf8 = g_convert((const char *)str, len, "UTF-8//TRANSLIT", "UCS-2BE",
NULL, NULL, NULL);
return utf8;
}