Fix signed-unsigned comparisons and mark warning as error (part 2).

This commit is contained in:
Nekotekina 2020-02-19 20:03:59 +03:00
parent 771eff273b
commit 92e3eaf3ff
68 changed files with 194 additions and 202 deletions

View file

@ -596,7 +596,7 @@ void trophy_manager_dialog::ApplyFilter()
return;
const int db_pos = m_game_combo->currentData().toInt();
if (db_pos >= m_trophies_db.size() || !m_trophies_db[db_pos])
if (db_pos + 0u >= m_trophies_db.size() || !m_trophies_db[db_pos])
return;
const auto trop_usr = m_trophies_db[db_pos]->trop_usr.get();