From 04aae280a0a6066551527adf0630d893e2b590fd Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 13 Jul 2009 22:28:24 -0500 Subject: [PATCH] Fix signedness warning --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util.c b/src/util.c index e8177300..a0e9a63c 100644 --- a/src/util.c +++ b/src/util.c @@ -731,7 +731,7 @@ char *sim_string_to_utf8(const unsigned char *buffer, int length) if (buffer[i] == 0xff && buffer[i + 1] == 0xff) break; - return g_convert(buffer + 1, i - 1, + return g_convert((char *)buffer + 1, i - 1, "UTF-8//TRANSLIT", "UCS-2BE", NULL, NULL, NULL); case 0x81: