aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-import-pidgin.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/empathy-import-pidgin.c b/src/empathy-import-pidgin.c
index 31dbbdd68..87910b96a 100644
--- a/src/empathy-import-pidgin.c
+++ b/src/empathy-import-pidgin.c
@@ -105,11 +105,12 @@ import_dialog_pidgin_parse_setting (EmpathyImportAccountData *data,
gchar *tag_name;
gchar *type = NULL;
gchar *content;
- gint i;
+ guint i;
GValue *value = NULL;
/* We can't do anything if the setting don't have a name */
- tag_name = (gchar *) xmlGetProp (setting, PIDGIN_ACCOUNT_TAG_NAME);
+ tag_name = (gchar *) xmlGetProp (setting,
+ (xmlChar *) PIDGIN_ACCOUNT_TAG_NAME);
if (!tag_name)
return;
@@ -129,7 +130,7 @@ import_dialog_pidgin_parse_setting (EmpathyImportAccountData *data,
if (!item)
return;
- type = (gchar *) xmlGetProp (setting, PIDGIN_SETTING_PROP_TYPE);
+ type = (gchar *) xmlGetProp (setting, (xmlChar *) PIDGIN_SETTING_PROP_TYPE);
content = (gchar *) xmlNodeGetContent (setting);
if (!tp_strdiff (type, "bool"))