Mercurial > pidgin.yaz
diff libpurple/buddyicon.c @ 16710:77cfd9bd6536
Get rid of two harmless warnings:
buddyicon.c: In function 'image_deleting_cb':
buddyicon.c:213: warning: passing argument 1 of 'purple_imgstore_get_filename' discards qualifiers from pointer target type
buddyicon.c:226: warning: passing argument 3 of 'g_hash_table_foreach_remove' discards qualifiers from pointer target type
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 30 Apr 2007 07:03:10 +0000 |
parents | 61ddeb85ab86 |
children | 10f175539cfe |
line wrap: on
line diff
--- a/libpurple/buddyicon.c Mon Apr 30 05:06:29 2007 +0000 +++ b/libpurple/buddyicon.c Mon Apr 30 07:03:10 2007 +0000 @@ -223,7 +223,7 @@ /* We could make this O(1) by using another hash table, but * this is probably good enough. */ - g_hash_table_foreach_remove(pointer_icon_cache, value_equals, img); + g_hash_table_foreach_remove(pointer_icon_cache, value_equals, (gpointer)img); } }