Fix signed/unsigned integers comparison warning

This commit is contained in:
Vladimir Golovnev (Glassez) 2018-11-19 12:40:29 +03:00 committed by sledgehammer999
commit 427acf0c46
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -474,7 +474,7 @@ int Feed::updateArticles(const QList<QVariantHash> &loadedArticles)
return (a1.first > a2.first);
});
if (sortData.size() > m_session->maxArticlesPerFeed())
if (sortData.size() > static_cast<uint>(m_session->maxArticlesPerFeed()))
sortData.resize(m_session->maxArticlesPerFeed());
int newArticlesCount = 0;