Mercurial > pidgin.yaz
diff src/gtkimhtml.c @ 6478:338147ea6896
[gaim-migrate @ 6991]
Some compiler warning fixes for 64-bit platforms from Robot101.
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 15 Aug 2003 22:16:44 +0000 |
parents | 7e967f2d6721 |
children | adf49a9bb9a0 |
line wrap: on
line diff
--- a/src/gtkimhtml.c Fri Aug 15 17:57:12 2003 +0000 +++ b/src/gtkimhtml.c Fri Aug 15 22:16:44 2003 +0000 @@ -94,7 +94,7 @@ t->children = g_realloc (t->children, t->values->len * sizeof (GtkSmileyTree *)); t->children [index] = g_new0 (GtkSmileyTree, 1); } else - index = (int) pos - (int) t->values->str; + index = (int) pos - GPOINTER_TO_INT(t->values->str); t = t->children [index]; @@ -600,7 +600,7 @@ pos = strchr (t->values->str, *x); if (pos) - t = t->children [(int) pos - (int) t->values->str]; + t = t->children [(int) pos - GPOINTER_TO_INT(t->values->str)]; else break; @@ -685,7 +685,7 @@ pos = strchr (t->values->str, *x); if (pos) { - t = t->children [(int) pos - (int) t->values->str]; + t = t->children [(int) pos - GPOINTER_TO_INT(t->values->str)]; } else { return sml ? gtk_smiley_tree_image(imhtml, NULL, text) : NULL; }