aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb/gaimbuddies.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-06-18 13:15:58 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-06-18 13:15:58 +0800
commitdffd9d69efa547950e32ae3bfb291e0c527bf580 (patch)
tree0a1b4728aed9f889686a8f196f8d469081e44cd4 /plugins/bbdb/gaimbuddies.c
parent2c260daf732ba0ae86fbd1d9e43f3e7098e68721 (diff)
downloadgsoc2013-evolution-dffd9d69efa547950e32ae3bfb291e0c527bf580.tar.gz
gsoc2013-evolution-dffd9d69efa547950e32ae3bfb291e0c527bf580.tar.zst
gsoc2013-evolution-dffd9d69efa547950e32ae3bfb291e0c527bf580.zip
Fix for bug #437584
svn path=/trunk/; revision=33697
Diffstat (limited to 'plugins/bbdb/gaimbuddies.c')
-rw-r--r--plugins/bbdb/gaimbuddies.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/bbdb/gaimbuddies.c b/plugins/bbdb/gaimbuddies.c
index b00ebc5952..e8c34bd01f 100644
--- a/plugins/bbdb/gaimbuddies.c
+++ b/plugins/bbdb/gaimbuddies.c
@@ -365,10 +365,10 @@ static char *
get_node_text (xmlNodePtr node)
{
if (node->children == NULL || node->children->content == NULL ||
- strcmp ((const char *)node->children->name, "text"))
+ strcmp ((char *)node->children->name, "text"))
return NULL;
- return g_strdup (node->children->content);
+ return g_strdup ((char *)node->children->content);
}
static char *
@@ -410,12 +410,12 @@ parse_contact (xmlNodePtr contact, GList **buddies)
gb = g_new0 (GaimBuddy, 1);
- gb->proto = e_xml_get_string_prop_by_name (buddy, "proto");
+ gb->proto = e_xml_get_string_prop_by_name (buddy, (const unsigned char *)"proto");
for (child = buddy->children; child != NULL; child = child->next) {
if (! strcmp ((const char *)child->name, "setting")) {
char *setting_type;
- setting_type = e_xml_get_string_prop_by_name (child, "name");
+ setting_type = e_xml_get_string_prop_by_name (child, (const unsigned char *)"name");
if (! strcmp ((const char *)setting_type, "buddy_icon"))
gb->icon = get_buddy_icon_from_setting (child);