diff finch/gntroomlist.c @ 26479:f5f08111da52

propagate from branch 'im.pidgin.pidgin' (head a609160715ae18beed98b084aac19bc0f6551362) to branch 'im.pidgin.pidgin.vv' (head 6e683319559d829234bc548e0795ed03403af478)
author Mike Ruprecht <maiku@soc.pidgin.im>
date Wed, 01 Apr 2009 04:25:37 +0000
parents b23211876f47
children f7c5bb2f6623
line wrap: on
line diff
--- a/finch/gntroomlist.c	Wed Apr 01 04:24:11 2009 +0000
+++ b/finch/gntroomlist.c	Wed Apr 01 04:25:37 2009 +0000
@@ -190,7 +190,7 @@
 				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);