Mercurial > pidgin
diff finch/gntplugin.c @ 26199:b23211876f47
Fix Finch warnings when building on 64-bit
Fixes #8425.
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Fri, 20 Mar 2009 06:01:48 +0000 |
parents | c38d72677c8a |
children | f5f08111da52 |
line wrap: on
line diff
--- a/finch/gntplugin.c Fri Mar 20 05:46:04 2009 +0000 +++ b/finch/gntplugin.c Fri Mar 20 06:01:48 2009 +0000 @@ -484,10 +484,10 @@ char *value = NULL; switch(type) { case PURPLE_PREF_BOOLEAN: - value = g_strdup_printf("%d", (int)list->next->data); + value = g_strdup_printf("%d", GPOINTER_TO_INT(list->next->data)); break; case PURPLE_PREF_INT: - value = g_strdup_printf("%d", (int)list->next->data); + value = g_strdup_printf("%d", GPOINTER_TO_INT(list->next->data)); break; case PURPLE_PREF_STRING: value = g_strdup(list->next->data);