mirror of git://git.sysmocom.de/ofono
Fix a bunch of warnings about mixed signedness
This commit is contained in:
parent
7560049829
commit
fa330cafbd
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue