summaryrefslogtreecommitdiff
path: root/finch/gntroomlist.c
diff options
context:
space:
mode:
authorPaul Aurich <darkrain42@pidgin.im>2009-03-20 06:01:48 +0000
committerPaul Aurich <darkrain42@pidgin.im>2009-03-20 06:01:48 +0000
commit1ad58c4310989106070dc0ed5a065ac14cccc069 (patch)
treeebaedc662ea843670b9145b05771c61f1bde4a8f /finch/gntroomlist.c
parentee50f8513335b8e3dc28f4e593c55f9a8f87d765 (diff)
downloadpidgin-1ad58c4310989106070dc0ed5a065ac14cccc069.tar.gz
Fix Finch warnings when building on 64-bit
Fixes #8425.
Diffstat (limited to 'finch/gntroomlist.c')
-rw-r--r--finch/gntroomlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/finch/gntroomlist.c b/finch/gntroomlist.c
index bbaa3e7dad..89479a4310 100644
--- a/finch/gntroomlist.c
+++ b/finch/gntroomlist.c
@@ -190,7 +190,7 @@ roomlist_selection_changed(GntWidget *widget, gpointer old, gpointer current, gp
label = g_strdup(iter->data ? "True" : "False");
break;
case PURPLE_ROOMLIST_FIELD_INT:
- label = g_strdup_printf("%d", (int)iter->data);
+ label = g_strdup_printf("%d", GPOINTER_TO_INT(iter->data));
break;
case PURPLE_ROOMLIST_FIELD_STRING:
label = g_strdup(iter->data);