Mercurial > pidgin
diff src/protocols/jabber/buddy.c @ 10441:e0a4b8586cbe
[gaim-migrate @ 11701]
compile warning fixes, and make an error message a little more clear as to the cause
if someone wants to word it better, go right ahead
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Tue, 28 Dec 2004 07:33:51 +0000 |
parents | 09876d57c520 |
children | 937697da5233 |
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c Tue Dec 28 07:23:32 2004 +0000 +++ b/src/protocols/jabber/buddy.c Tue Dec 28 07:33:51 2004 +0000 @@ -381,12 +381,12 @@ if (vc_node->name && !g_ascii_strncasecmp(vc_node->name, "vCard", 5)) { GError *error = NULL; - char *avatar_data; + unsigned char *avatar_data; gsize avatar_len; if(avatar_file && g_file_get_contents(avatar_file, &avatar_data, &avatar_len, &error)) { xmlnode *photo; - char *enc; + unsigned char *enc; int i; unsigned char hashval[20]; char *p, hash[41];