citra_qt: silent sign comparison warning

🖕Qt
This commit is contained in:
Weiyi Wang 2019-07-14 14:17:54 -04:00
parent e689847b11
commit f7607c820d
2 changed files with 4 additions and 3 deletions

View file

@ -148,7 +148,7 @@ void CheatDialog::OnRowSelected(int row, int column) {
ui->tableCheats->setCurrentCell(last_row, last_col);
return;
}
if (row < cheats.size()) {
if (static_cast<std::size_t>(row) < cheats.size()) {
if (newly_created) {
// Remove the newly created dummy item
newly_created = false;