diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-08-25 15:12:31 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2008-08-25 15:12:31 +0100 |
commit | e6dd5dd81df848e378bfdddabdecb934dee70b79 (patch) | |
tree | 3382d5f947fc41101b97a81a6e00eb0b1ae74f64 | |
parent | 1714d0fd9d82ee141475f996f4f0f58262355b33 (diff) | |
download | xine-lib-e6dd5dd81df848e378bfdddabdecb934dee70b79.tar.gz xine-lib-e6dd5dd81df848e378bfdddabdecb934dee70b79.tar.bz2 |
Fix CDDB access on 64-bit.
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/input/input_cdda.c | 6 |
2 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,6 @@ xine-lib (1.1.16) 2008-??-?? * Fix reported compilation failures (with C++ programs). + * Fix CDDB access in 64-bit builds. xine-lib (1.1.15) 2008-08-14 * Security fixes: diff --git a/src/input/input_cdda.c b/src/input/input_cdda.c index 305ef6381..06ab9d626 100644 --- a/src/input/input_cdda.c +++ b/src/input/input_cdda.c @@ -136,7 +136,7 @@ typedef struct { char *disc_category; int fd; - unsigned long disc_id; + uint32_t disc_id; int disc_length; trackinfo_t *track; @@ -1902,7 +1902,7 @@ static unsigned int _cdda_cddb_sum(int n) { } return ret; } -static unsigned long _cdda_calc_cddb_id(cdda_input_plugin_t *this) { +static uint32_t _cdda_calc_cddb_id(cdda_input_plugin_t *this) { int i, tsum = 0; if(this == NULL || (this->cddb.num_tracks <= 0)) @@ -1959,7 +1959,7 @@ static void _cdda_cdindex(cdda_input_plugin_t *this, cdrom_toc *toc) { /* * return cbbd disc id. */ -static unsigned long _cdda_get_cddb_id(cdda_input_plugin_t *this) { +static uint32_t _cdda_get_cddb_id(cdda_input_plugin_t *this) { if(this == NULL || (this->cddb.num_tracks <= 0)) return 0; |