aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-20 22:54:06 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-10-20 23:01:09 +0800
commit1f9ec7bc79c1aa3cc002f0afaf0f518f0b6ab455 (patch)
tree6a2115568c1b51b28b161af3dc18842140efeb0d
parent77803a3f4cc6adc42552fd823a43cd09474b0c3f (diff)
downloadgsoc2013-empathy-1f9ec7bc79c1aa3cc002f0afaf0f518f0b6ab455.tar
gsoc2013-empathy-1f9ec7bc79c1aa3cc002f0afaf0f518f0b6ab455.tar.gz
gsoc2013-empathy-1f9ec7bc79c1aa3cc002f0afaf0f518f0b6ab455.tar.bz2
gsoc2013-empathy-1f9ec7bc79c1aa3cc002f0afaf0f518f0b6ab455.tar.lz
gsoc2013-empathy-1f9ec7bc79c1aa3cc002f0afaf0f518f0b6ab455.tar.xz
gsoc2013-empathy-1f9ec7bc79c1aa3cc002f0afaf0f518f0b6ab455.tar.zst
gsoc2013-empathy-1f9ec7bc79c1aa3cc002f0afaf0f518f0b6ab455.zip
src/empathy-import-pidgin: cast strings to (xmlChar *) when needed
-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"))