aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/bbdb
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/bbdb')
-rw-r--r--plugins/bbdb/ChangeLog5
-rw-r--r--plugins/bbdb/gaimbuddies.c8
2 files changed, 9 insertions, 4 deletions
diff --git a/plugins/bbdb/ChangeLog b/plugins/bbdb/ChangeLog
index 65a15319da..ca872a47d6 100644
--- a/plugins/bbdb/ChangeLog
+++ b/plugins/bbdb/ChangeLog
@@ -1,3 +1,8 @@
+2007-06-07 Gilles Dartiguelongue <dartigug@esiee.fr>
+
+ * gaimbuddies.c: (get_node_text), (parse_contact): more compilation
+ warnings cleanup, completes bug #437584 fixes
+
2007-05-14 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #414195 from Loïc Minier
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);