summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-08-20 15:20:47 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-08-20 15:39:12 -0500
commitfa330cafbd843eef3f897f964a2aca15cf08c962 (patch)
tree4331e6e56d63178969f73f4732d6611dedcb7e5e /drivers
parent75600498293c0180b1d075be4ea7201355f7ae67 (diff)
downloadofono-fa330cafbd843eef3f897f964a2aca15cf08c962.tar.bz2
Fix a bunch of warnings about mixed signedness
Diffstat (limited to 'drivers')
-rw-r--r--drivers/isimodem/isiphonebook.c4
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;
}