pidgin: 37145f1b: Fixed a compiler warning (and remove an ...

malu at pidgin.im malu at pidgin.im
Wed Oct 29 15:25:33 EDT 2008


-----------------------------------------------------------------
Revision: 37145f1b4ec49b432ea571f96562d44f4c5a908e
Ancestor: 91697ef86059abe66d9821bda00c222c87e695c8
Author: malu at pidgin.im
Date: 2008-10-29T19:20:03
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/37145f1b4ec49b432ea571f96562d44f4c5a908e

Modified files:
        pidgin/gtkimhtml.c

ChangeLog: 

Fixed a compiler warning (and remove an unnessesary cast)

-------------- next part --------------
============================================================
--- pidgin/gtkimhtml.c	ccf9764318bde2961c95760890b4792426c16dfa
+++ pidgin/gtkimhtml.c	87534daed35898d027b62b0e8f8c4d744cd161e3
@@ -1974,7 +1974,7 @@ static void gtk_smiley_tree_remove (GtkS
 
 		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;
 


More information about the Commits mailing list