mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-30 23:43:10 +00:00
CRAB: Fix unsigned/signed comparision warning in OptionMenu
This commit is contained in:
parent
d1ce8e38e4
commit
2cd0d2018e
@ -227,7 +227,7 @@ bool OptionMenu::handleTabs(Button &back, const Common::Event &event) {
|
||||
int choice = _menu.handleEvents(event);
|
||||
if (choice >= 0) {
|
||||
if (choice < 4)
|
||||
for (uint i = 0; i < _menu._element.size(); ++i)
|
||||
for (int i = 0; i < (int)_menu._element.size(); ++i)
|
||||
_menu._element[i].state(i == choice);
|
||||
|
||||
switch (choice) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user