diff options
| -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; | 
