summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Lundblad <malu@pidgin.im>2008-10-29 19:20:03 +0000
committerMarcus Lundblad <malu@pidgin.im>2008-10-29 19:20:03 +0000
commitb69836a72450504a899f4ce957f3872c7c52d2f4 (patch)
treef10c9bb579a0ec414445bdd16bbab1623fb16a01
parentac0cafa6a3f00476774576b001df6e15d102e3bd (diff)
downloadpidgin-b69836a72450504a899f4ce957f3872c7c52d2f4.tar.gz
Fixed a compiler warning (and remove an unnessesary cast)
-rw-r--r--pidgin/gtkimhtml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pidgin/gtkimhtml.c b/pidgin/gtkimhtml.c
index 53c46f8f6c..9ec99372be 100644
--- a/pidgin/gtkimhtml.c
+++ b/pidgin/gtkimhtml.c
@@ -1974,7 +1974,7 @@ static void gtk_smiley_tree_remove (GtkSmileyTree *tree,
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;