libpurple/tests/test_trie.c

changeset 35733
60a5d065ca81
parent 35729
27c5683767c8
parent 35697
4ac2ddeee1ca
child 35756
fe6aba70046e
--- 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;
 }

mercurial