Mercurial > pidgin.yaz
diff src/protocols/qq/group_network.c @ 14058:32a71e64ceae
[gaim-migrate @ 16673]
Eliminated a number of warnings. Generally, this consisted of fixing incorrectly declared data types and adding a few casts. I also moved some declarations that occurred in the middle of code. Minor formatting changes.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Huetsch <markhuetsch> |
---|---|
date | Tue, 08 Aug 2006 23:20:08 +0000 |
parents | ef8490f9e823 |
children |
line wrap: on
line diff
--- a/src/protocols/qq/group_network.c Tue Aug 08 01:12:58 2006 +0000 +++ b/src/protocols/qq/group_network.c Tue Aug 08 23:20:08 2006 +0000 @@ -81,7 +81,7 @@ gchar *msg, *msg_utf8; g_return_if_fail(cursor != NULL && len > 0 && gc != NULL); - msg = g_strndup(cursor, len); /* it will append 0x00 */ + msg = g_strndup((gchar *) cursor, len); /* it will append 0x00 */ msg_utf8 = qq_to_utf8(msg, QQ_CHARSET_DEFAULT); g_free(msg); msg = g_strdup_printf(_("Code [0x%02X]: %s"), reply, msg_utf8);