Browse Source

Fix signed/unsigned integers comparison warning

adaptive-webui-19844
Vladimir Golovnev (Glassez) 6 years ago
parent
commit
e146c2f227
No known key found for this signature in database
GPG Key ID: 52A2C7DEE2DFA6F7
  1. 2
      src/base/rss/rss_feed.cpp

2
src/base/rss/rss_feed.cpp

@ -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…
Cancel
Save