changeset 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 b6ca0e1b19d0
files src/protocols/jabber/buddy.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/jabber/buddy.c	Tue Dec 28 07:33:51 2004 +0000
+++ b/src/protocols/jabber/buddy.c	Tue Dec 28 17:38:03 2004 +0000
@@ -384,7 +384,7 @@
 			unsigned char *avatar_data;
 			gsize avatar_len;
 
-			if(avatar_file && g_file_get_contents(avatar_file, &avatar_data, &avatar_len, &error)) {
+			if(avatar_file && g_file_get_contents(avatar_file, (gchar **)&avatar_data, &avatar_len, &error)) {
 				xmlnode *photo;
 				unsigned char *enc;
 				int i;