changeset 25455:8387f195c4af

This casting is no longer necessary.
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Sun, 15 Feb 2009 20:43:41 +0000
parents a946cffda321
children 201789d2f003
files libpurple/protocols/msn/contact.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/msn/contact.c	Sun Feb 15 07:19:59 2009 +0000
+++ b/libpurple/protocols/msn/contact.c	Sun Feb 15 20:43:41 2009 +0000
@@ -211,7 +211,7 @@
 	if (fault == NULL) {
 		/* No errors */
 		if (state->cb)
-			((MsnSoapCallback)state->cb)(req, resp, data);
+			state->cb(req, resp, data);
 		msn_callback_state_free(state);
 		return;
 	}
@@ -230,7 +230,7 @@
 	else
 	{
 		if (state->cb) {
-			((MsnSoapCallback)state->cb)(req, resp, data);
+			state->cb(req, resp, data);
 		} else {
 			/* We don't know how to respond to this faultcode, so log it */
 			char *str = xmlnode_to_str(fault, NULL);