From: Christian H. <ch...@us...> - 2003-08-16 03:18:51
|
Update of /cvsroot/gaim/gaim/src/protocols/jabber In directory sc8-pr-cvs1:/tmp/cvs-serv18649/src/protocols/jabber Modified Files: jabber.c Log Message: Some compiler warning fixes for 64-bit platforms from Robot101. Index: jabber.c =================================================================== RCS file: /cvsroot/gaim/gaim/src/protocols/jabber/jabber.c,v retrieving revision 1.174 retrieving revision 1.175 diff -u -d -r1.174 -r1.175 --- jabber.c 5 Aug 2003 10:55:03 -0000 1.174 +++ jabber.c 15 Aug 2003 22:16:43 -0000 1.175 @@ -2827,7 +2827,7 @@ */ static void set_invisible_to_buddy_status(gpointer key, gpointer val, gpointer data) { struct jabber_buddy_data *jbd = val; - gboolean invisible = (gboolean) data; + gboolean invisible = GPOINTER_TO_INT(data); if(jbd) { if(invisible) { @@ -2854,7 +2854,7 @@ struct jabber_data *jd = gc->proto_data; if(jd->buddies != NULL) - g_hash_table_foreach(jd->buddies, set_invisible_to_buddy_status, (gpointer) invisible); + g_hash_table_foreach(jd->buddies, set_invisible_to_buddy_status, GINT_TO_POINTER(invisible)); } static const char *jabber_list_icon(GaimAccount *a, struct buddy *b) |