Mercurial > pidgin.yaz
comparison src/protocols/jabber/buddy.c @ 10442:937697da5233
[gaim-migrate @ 11702]
gcc 3.4 has been giving me warnings when not casting between
signed/unsigned char ** It seems like that's new
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Tue, 28 Dec 2004 17:38:03 +0000 |
parents | e0a4b8586cbe |
children | a3a540ed2518 |
comparison
equal
deleted
inserted
replaced
10441:e0a4b8586cbe | 10442:937697da5233 |
---|---|
382 !g_ascii_strncasecmp(vc_node->name, "vCard", 5)) { | 382 !g_ascii_strncasecmp(vc_node->name, "vCard", 5)) { |
383 GError *error = NULL; | 383 GError *error = NULL; |
384 unsigned char *avatar_data; | 384 unsigned char *avatar_data; |
385 gsize avatar_len; | 385 gsize avatar_len; |
386 | 386 |
387 if(avatar_file && g_file_get_contents(avatar_file, &avatar_data, &avatar_len, &error)) { | 387 if(avatar_file && g_file_get_contents(avatar_file, (gchar **)&avatar_data, &avatar_len, &error)) { |
388 xmlnode *photo; | 388 xmlnode *photo; |
389 unsigned char *enc; | 389 unsigned char *enc; |
390 int i; | 390 int i; |
391 unsigned char hashval[20]; | 391 unsigned char hashval[20]; |
392 char *p, hash[41]; | 392 char *p, hash[41]; |