diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-20 15:20:47 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-20 15:39:12 -0500 |
commit | fa330cafbd843eef3f897f964a2aca15cf08c962 (patch) | |
tree | 4331e6e56d63178969f73f4732d6611dedcb7e5e /drivers | |
parent | 75600498293c0180b1d075be4ea7201355f7ae67 (diff) | |
download | ofono-fa330cafbd843eef3f897f964a2aca15cf08c962.tar.bz2 |
Fix a bunch of warnings about mixed signedness
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/isimodem/isiphonebook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isimodem/isiphonebook.c b/drivers/isimodem/isiphonebook.c index 407d0662..2053a068 100644 --- a/drivers/isimodem/isiphonebook.c +++ b/drivers/isimodem/isiphonebook.c @@ -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; } |