Fixed a compiler warning (and remove an unnessesary cast)

Wed, 29 Oct 2008 19:20:03 +0000

author
Marcus Lundblad <malu@pidgin.im>
date
Wed, 29 Oct 2008 19:20:03 +0000
changeset 24544
75266af2c12b
parent 24541
5cee721d00c9
child 24545
95b50f8a2161
child 25928
03d3f60c959d
child 25951
f0a61cd189e4
child 26004
5489d5997c7a

Fixed a compiler warning (and remove an unnessesary cast)

pidgin/gtkimhtml.c file | annotate | diff | comparison | revisions
--- 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;
 

mercurial