mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 19:31:02 +01:00
Fixes 64-bit compile issue from r3372
This commit is contained in:
parent
272841ab73
commit
006e085b7d
@ -126,7 +126,8 @@ SongLoader::Result SongLoader::LoadAudioCD() {
|
|||||||
// Init song
|
// Init song
|
||||||
Song song;
|
Song song;
|
||||||
quint64 duration;
|
quint64 duration;
|
||||||
if (gst_tag_list_get_uint64 (GST_CDDA_BASE_SRC(cdda)->tracks[track_number-1].tags, GST_TAG_DURATION, &duration)) {
|
// quint64 == ulonglong and guint64 == ulong, therefore we must cast
|
||||||
|
if (gst_tag_list_get_uint64 (GST_CDDA_BASE_SRC(cdda)->tracks[track_number-1].tags, GST_TAG_DURATION, (guint64*) &duration)) {
|
||||||
song.set_length_nanosec(duration);
|
song.set_length_nanosec(duration);
|
||||||
}
|
}
|
||||||
song.set_valid(true);
|
song.set_valid(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user