--- a/libpurple/tests/test_trie.c Thu Apr 03 19:48:16 2014 +0200 +++ b/libpurple/tests/test_trie.c Thu Apr 03 20:36:19 2014 +0200 @@ -8,10 +8,11 @@ gpointer user_data) { /* the "test" word for the test_trie_replace test */ - if ((int)word_data == 0x1001) + if ((gintptr)word_data == 0x1001) return FALSE; - g_string_append_printf(out, "[%d:%x]", (int)user_data, (int)word_data); + g_string_append_printf(out, "[%d:%x]", + (int)(gintptr)user_data, (int)(gintptr)word_data); return TRUE; }