changeset 24715:b25abc303e5a

Remove unnecessary casting
author Mark Doliner <mark@kingant.net>
date Fri, 12 Dec 2008 19:42:19 +0000
parents c298043466c7
children 19f18fc9caed 290bd7ef475a
files libpurple/protocols/myspace/markup.c
diffstat 1 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/myspace/markup.c	Fri Dec 12 19:36:34 2008 +0000
+++ b/libpurple/protocols/myspace/markup.c	Fri Dec 12 19:42:19 2008 +0000
@@ -701,8 +701,7 @@
 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 @@
 {
 	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. */