diff pidgin/gtkimhtml.c @ 24269:b6dc71133eb8

Fixed a compiler warning (and remove an unnessesary cast)
author Marcus Lundblad <ml@update.uu.se>
date Wed, 29 Oct 2008 19:20:03 +0000
parents 9f039d14bf35
children 8282911d5e17
line wrap: on
line diff
--- a/pidgin/gtkimhtml.c	Wed Oct 29 04:54:00 2008 +0000
+++ b/pidgin/gtkimhtml.c	Wed Oct 29 19:20:03 2008 +0000
@@ -1974,7 +1974,7 @@
 
 		pos = strchr (t->values->str, *x);
 		if (pos)
-			t = t->children [(unsigned int) pos - (unsigned int) t->values->str];
+			t = t->children [pos - t->values->str];
 		else
 			return;