Mercurial > pidgin
changeset 27503:c7812bda30f1
Fix a warning.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 12 Jul 2009 02:59:46 +0000 |
parents | 3bb1085235d0 |
children | 72cf7e73a869 |
files | libpurple/blist.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/blist.c Sun Jul 12 02:56:06 2009 +0000 +++ b/libpurple/blist.c Sun Jul 12 02:59:46 2009 +0000 @@ -83,11 +83,13 @@ PurpleBlistNode *group; }; +/* This function must not use purple_normalize */ static guint _purple_blist_hbuddy_hash(struct _purple_hbuddy *hb) { return g_str_hash(hb->name); } +/* This function must not use purple_normalize */ static guint _purple_blist_hbuddy_equal(struct _purple_hbuddy *hb1, struct _purple_hbuddy *hb2) { return (purple_strequal(hb1->name, hb2->name) && hb1->account == hb2->account && hb1->group == hb2->group); @@ -2352,7 +2354,7 @@ g_return_val_if_fail((name != NULL) && (*name != '\0'), NULL); hb.account = account; - hb.name = purple_normalize(account, name); + hb.name = (gchar *)purple_normalize(account, name); for (group = purplebuddylist->root; group; group = group->next) { hb.group = group;