From 21669640641ecf7a9a9adbd37902528d1f814a20 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 9 Dec 2018 06:13:53 +0100 Subject: Fix clang warnings for torrent* --- torrentdisplay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'torrentdisplay.cpp') diff --git a/torrentdisplay.cpp b/torrentdisplay.cpp index 8f54b81..d9c094c 100644 --- a/torrentdisplay.cpp +++ b/torrentdisplay.cpp @@ -118,7 +118,7 @@ void TorrentDisplay::setData(const QList data, const QString &filename mFileView->resizeColumnToContents(1); } if(it.key() == "creation date"){ - qint64 secs = it.value().toLongLong(); + uint secs = it.value().toUInt(); QDateTime when = QDateTime::fromTime_t(secs); mCreated->setText(when.toString(Qt::RFC2822Date)); } -- cgit v1.2.3-70-g09d2