Mercurial > pidgin
diff src/protocols/oscar/service.c @ 11159:bd8ac1d4b2f2
[gaim-migrate @ 13246]
Get rid of a bunch of gcc4 compile warnings in oscar.
Here's what I'm doing:
-For random bits of binary data, use guchar *
-For textual data (not necessarily utf8), use gchar *
This seems to be what glib and gtk do
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 26 Jul 2005 04:34:37 +0000 |
parents | 8d74ae785a46 |
children | 657aa9a3a7b0 |
line wrap: on
line diff
--- a/src/protocols/oscar/service.c Mon Jul 25 23:46:34 2005 +0000 +++ b/src/protocols/oscar/service.c Tue Jul 26 04:34:37 2005 +0000 @@ -161,7 +161,7 @@ redir.group = aim_tlv_get16(tlvlist, 0x000d, 1); redir.ip = aim_tlv_getstr(tlvlist, 0x0005, 1); redir.cookielen = aim_tlv_gettlv(tlvlist, 0x0006, 1)->length; - redir.cookie = aim_tlv_getstr(tlvlist, 0x0006, 1); + redir.cookie = (guchar *)aim_tlv_getstr(tlvlist, 0x0006, 1); /* Fetch original SNAC so we can get csi if needed */ origsnac = aim_remsnac(sess, snac->id);