changeset 20568:5b35273d145f

De-warn: google.c: In function 'jabber_gmail_parse': google.c:65: warning: passing argument 6 of 'purple_notify_emails' from incompatible pointer type google.c:72: warning: passing argument 6 of 'purple_notify_emails' from incompatible pointer type google.c:131: warning: passing argument 6 of 'purple_notify_emails' from incompatible pointer type
author Mark Doliner <mark@kingant.net>
date Thu, 20 Sep 2007 06:21:37 +0000
parents b4a141f9294a
children 7393ee28c819
files libpurple/protocols/jabber/google.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/google.c	Thu Sep 20 05:28:33 2007 +0000
+++ b/libpurple/protocols/jabber/google.c	Thu Sep 20 06:21:37 2007 +0000
@@ -62,14 +62,14 @@
 	default_tos[0] = jabber_get_bare_jid(to);
 
 	if (count == 0) {
-		purple_notify_emails(js->gc, count, FALSE, NULL, NULL, default_tos, NULL, NULL, NULL);
+		purple_notify_emails(js->gc, count, FALSE, NULL, NULL, (const char**) default_tos, NULL, NULL, NULL);
 		g_free(default_tos[0]);
 		return;
 	}
 
 	message = xmlnode_get_child(child, "mail-thread-info");
 	if (!message) {
-		purple_notify_emails(js->gc, count, FALSE, NULL, NULL, default_tos, NULL, NULL, NULL);
+		purple_notify_emails(js->gc, count, FALSE, NULL, NULL, (const char**) default_tos, NULL, NULL, NULL);
 		g_free(default_tos[0]);
 		return;
 	}
@@ -128,7 +128,7 @@
 		purple_notify_emails(js->gc, count, count == i, (const char**) subjects, froms, tos,
 				urls, NULL, NULL);
 	else 
-		purple_notify_emails(js->gc, count, FALSE, NULL, NULL, default_tos, NULL, NULL, NULL);
+		purple_notify_emails(js->gc, count, FALSE, NULL, NULL, (const char**) default_tos, NULL, NULL, NULL);
 
 
 	g_free(to_name);