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:
parent
a97543d258
commit
e146c2f227
@ -474,7 +474,7 @@ int Feed::updateArticles(const QList<QVariantHash> &loadedArticles)
|
|||||||
return (a1.first > a2.first);
|
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());
|
sortData.resize(m_session->maxArticlesPerFeed());
|
||||||
|
|
||||||
int newArticlesCount = 0;
|
int newArticlesCount = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user