changeset 24327: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 46e35741ba0d
children 6c6edb71035d e17605cc2c0a 6ef1197c2db6 0caae32d570d
files pidgin/gtkimhtml.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;