UI, libobs, obs-plugins: Fix compiler warnings

Found warnings when compiling OBS.
This commit is contained in:
Clayton Groeneveld 2021-11-03 13:14:46 -05:00 • committed by Jim
commit af6c719139
7 changed files with 11 additions and 11 deletions

View file

@ -4382,10 +4382,10 @@ bool OBSBasicSettings::ScanDuplicateHotkeys(QFormLayout *layout)
edit->hasDuplicate = false;
}
for (int i = 0; i < items.size(); i++) {
for (size_t i = 0; i < items.size(); i++) {
OBSHotkeyLabel *item1 = items[i];
for (int j = i + 1; j < items.size(); j++)
for (size_t j = i + 1; j < items.size(); j++)
hasDupes |= MarkHotkeyConflicts(item1, items[j]);
}