Change mtime and ctime to qint64

This commit is contained in:
Jonas Kvinge
2020-08-13 21:09:06 +02:00
parent 7aebd6ed57
commit c315e5016d
7 changed files with 19 additions and 19 deletions

View File

@@ -237,7 +237,7 @@ SongList CueParser::Load(QIODevice *device, const QString &playlist_path, const
// Cue song has mtime equal to qMax(media_file_mtime, cue_sheet_mtime)
if (cue_mtime.isValid()) {
song.set_mtime(qMax(static_cast<quint64>(cue_mtime.toSecsSinceEpoch()), song.mtime()));
song.set_mtime(qMax(cue_mtime.toSecsSinceEpoch(), song.mtime()));
}
song.set_cue_path(playlist_path);