commit 81ab288b6fc6498791d2d90415939c690c340cfe Author: Adam Broschinski <adam.broschin...@gmail.com> Date: Fri Apr 16 20:41:50 2010 -0400
Fixed 32 bit playlist writing This patch changes the type of id from gulong to guint64, which is what the dbid is stored as. This fixes the comparison between the dbid between tracks for 32 bit systems and allows playlists to be written. Many thanks to Stefan Ziel who's patch ended up pointing out the problem. src/itdb_itunesdb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) --- diff --git a/src/itdb_itunesdb.c b/src/itdb_itunesdb.c index b697e6d..d55a3be 100644 --- a/src/itdb_itunesdb.c +++ b/src/itdb_itunesdb.c @@ -6344,7 +6344,7 @@ static gboolean write_lphs (WContents *cts, Itdb_Playlist *pl) gulong lphs_seek; GList *tl, *tracks, *current_track; Itdb_Track *tr, *ctr; - gulong id; + guint64 id; guint32 stype; guint32 tracknum; guint32 podcastcnt; ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ gtkpod-cvs2 mailing list gtkpod-cvs2@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtkpod-cvs2