1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-23 21:14:33 +00:00

Fix signed/unsigned integers comparison warning

This commit is contained in:
Vladimir Golovnev (Glassez) 2018-11-19 12:40:29 +03:00
parent a97543d258
commit e146c2f227
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7

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;