pidgin: b777f3c2: Remove unnecessary casting

markdoliner at pidgin.im markdoliner at pidgin.im
Fri Dec 12 14:46:00 EST 2008


-----------------------------------------------------------------
Revision: b777f3c2f3b9991830f31a5572d2bb0b030c2600
Ancestor: 7361a20e7c5018be8779108ba4365752d0f6ffa9
Author: markdoliner at pidgin.im
Date: 2008-12-12T19:42:19
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/b777f3c2f3b9991830f31a5572d2bb0b030c2600

Modified files:
        libpurple/protocols/myspace/markup.c

ChangeLog: 

Remove unnecessary casting

-------------- next part --------------
============================================================
--- libpurple/protocols/myspace/markup.c	e9cf5f4c2f396ec9d2efa675af6c11d0cde5cab5
+++ libpurple/protocols/myspace/markup.c	3a000c1bf671676ffd9e34201a396d4d7967eeaf
@@ -701,8 +701,7 @@ msim_markup_to_html(MsimSession *session
 gchar *
 msim_markup_to_html(MsimSession *session, const gchar *raw)
 {
-	return msim_convert_xml(session, raw,
-			(MSIM_XMLNODE_CONVERT)(msim_markup_tag_to_html));
+	return msim_convert_xml(session, raw, msim_markup_tag_to_html);
 }
 
 /** High-level function to convert Purple (HTML) to MySpaceIM markup.
@@ -715,8 +714,7 @@ html_to_msim_markup(MsimSession *session
 {
 	gchar *markup;
 
-	markup = msim_convert_xml(session, raw,
-			(MSIM_XMLNODE_CONVERT)(html_tag_to_msim_markup));
+	markup = msim_convert_xml(session, raw, html_tag_to_msim_markup);
 
 	if (purple_account_get_bool(session->account, "emoticons", TRUE)) {
 		/* Frees markup and allocates a new one. */


More information about the Commits mailing list