here is a quick patch to make rhythmbox CVS compile with gcc 4.0.1 with -Wall.
Obviously the real fix would be different, as discussed previously.
Tristan
Index: daapsharing/rb-daap-share.c =================================================================== RCS file: /cvs/gnome/rhythmbox/daapsharing/rb-daap-share.c,v retrieving revision 1.5 diff -u -r1.5 rb-daap-share.c --- daapsharing/rb-daap-share.c 11 Sep 2005 10:31:45 -0000 1.5 +++ daapsharing/rb-daap-share.c 5 Oct 2005 14:50:04 -0000 @@ -676,8 +676,8 @@ num_songs = rb_entry_view_get_num_entries (ev); mlit = rb_daap_structure_add (mlcl, RB_DAAP_CC_MLIT); - rb_daap_structure_add (mlit, RB_DAAP_CC_MIID, (gint32) source); - rb_daap_structure_add (mlit, RB_DAAP_CC_MPER, (gint64)(gint32) source); + rb_daap_structure_add (mlit, RB_DAAP_CC_MIID, (gint32) GPOINTER_TO_INT(source)); + rb_daap_structure_add (mlit, RB_DAAP_CC_MPER, (gint64) GPOINTER_TO_INT(source)); rb_daap_structure_add (mlit, RB_DAAP_CC_MINM, name); rb_daap_structure_add (mlit, RB_DAAP_CC_MIMC, (gint32) num_songs);
_______________________________________________ rhythmbox-devel mailing list [email protected] http://mail.gnome.org/mailman/listinfo/rhythmbox-devel
