diff src/gtkimhtml.c @ 7386:414c701ef1ff

[gaim-migrate @ 7981] Code cleanup to get rid of all warnings for AMD64 from augustus at linuxhardware dot org committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 30 Oct 2003 22:27:36 +0000
parents dc573236dc8b
children d889a99e0eb1
line wrap: on
line diff
--- a/src/gtkimhtml.c	Thu Oct 30 21:55:29 2003 +0000
+++ b/src/gtkimhtml.c	Thu Oct 30 22:27:36 2003 +0000
@@ -95,7 +95,7 @@
 			t->children = g_realloc (t->children, t->values->len * sizeof (GtkSmileyTree *));
 			t->children [index] = g_new0 (GtkSmileyTree, 1);
 		} else
-			index = (int) pos - GPOINTER_TO_INT(t->values->str);
+			index = GPOINTER_TO_INT(pos) - GPOINTER_TO_INT(t->values->str);
 		
 		t = t->children [index];