Mercurial > pidgin
comparison src/gtkimhtml.c @ 7386:414c701ef1ff
[gaim-migrate @ 7981]
Code cleanup to get rid of all warnings for AMD64 from augustus at linuxhardware dot org
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 30 Oct 2003 22:27:36 +0000 |
parents | dc573236dc8b |
children | d889a99e0eb1 |
comparison
equal
deleted
inserted
replaced
7385:79d74929693c | 7386:414c701ef1ff |
---|---|
93 t->values = g_string_append_c (t->values, *x); | 93 t->values = g_string_append_c (t->values, *x); |
94 index = t->values->len - 1; | 94 index = t->values->len - 1; |
95 t->children = g_realloc (t->children, t->values->len * sizeof (GtkSmileyTree *)); | 95 t->children = g_realloc (t->children, t->values->len * sizeof (GtkSmileyTree *)); |
96 t->children [index] = g_new0 (GtkSmileyTree, 1); | 96 t->children [index] = g_new0 (GtkSmileyTree, 1); |
97 } else | 97 } else |
98 index = (int) pos - GPOINTER_TO_INT(t->values->str); | 98 index = GPOINTER_TO_INT(pos) - GPOINTER_TO_INT(t->values->str); |
99 | 99 |
100 t = t->children [index]; | 100 t = t->children [index]; |
101 | 101 |
102 x++; | 102 x++; |
103 } | 103 } |