Mercurial > pidgin
diff libgaim/protocols/yahoo/yahoo_picture.c @ 14259:0ac0f16aa006
[gaim-migrate @ 16941]
silence some warnings by casting several things to (char *) that are actually unsigned char *'s.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Mon, 21 Aug 2006 04:42:11 +0000 |
parents | 60b1bc8dbf37 |
children | 01daacf7b771 |
line wrap: on
line diff
--- a/libgaim/protocols/yahoo/yahoo_picture.c Mon Aug 21 04:12:07 2006 +0000 +++ b/libgaim/protocols/yahoo/yahoo_picture.c Mon Aug 21 04:42:11 2006 +0000 @@ -464,7 +464,7 @@ pkt_buf_len = yahoo_packet_build(pkt, 8, FALSE, &pkt_buf); yahoo_packet_free(pkt); - g_string_prepend_len(d->str, pkt_buf, pkt_buf_len); + g_string_prepend_len(d->str, (char *)pkt_buf, pkt_buf_len); g_free(pkt_buf); g_string_prepend(d->str, header);