pidgin: f6c13a2d: This casting is no longer necessary.

qulogic at pidgin.im qulogic at pidgin.im
Sun Feb 15 18:16:02 EST 2009


-----------------------------------------------------------------
Revision: f6c13a2d15179aef64dae8fa306881104e044a50
Ancestor: 0ed824d0e7a548cb9a2fc4da692270475567d7d6
Author: qulogic at pidgin.im
Date: 2009-02-15T20:43:41
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/f6c13a2d15179aef64dae8fa306881104e044a50

Modified files:
        libpurple/protocols/msn/contact.c

ChangeLog: 

This casting is no longer necessary.

-------------- next part --------------
============================================================
--- libpurple/protocols/msn/contact.c	84a2927caa11a655f29dc84345a7d9272ac28726
+++ libpurple/protocols/msn/contact.c	1e4705b7ba0e026f141385c61c69badf5d4544a0
@@ -211,7 +211,7 @@ msn_contact_request_cb(MsnSoapMessage *r
 	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 @@ msn_contact_request_cb(MsnSoapMessage *r
 	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);


More information about the Commits mailing list