diff options
author | D G Turner | 2019-10-02 23:58:04 +0100 |
---|---|---|
committer | D G Turner | 2019-10-02 23:58:04 +0100 |
commit | 9e761e1c9faea1835bf4a5da7f19d747a50194af (patch) | |
tree | 36dfd290151da5d689a5c5ff22ac1671c33e38c5 /graphics/macgui | |
parent | d214dd8f3bf703d0cbd81ec58626fecc7a1ed5df (diff) | |
download | scummvm-rg350-9e761e1c9faea1835bf4a5da7f19d747a50194af.tar.gz scummvm-rg350-9e761e1c9faea1835bf4a5da7f19d747a50194af.tar.bz2 scummvm-rg350-9e761e1c9faea1835bf4a5da7f19d747a50194af.zip |
GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Warnings
Diffstat (limited to 'graphics/macgui')
-rw-r--r-- | graphics/macgui/macmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp index ed430cb5cd..806522f251 100644 --- a/graphics/macgui/macmenu.cpp +++ b/graphics/macgui/macmenu.cpp @@ -285,14 +285,14 @@ MacMenu *MacMenu::createMenuFromPEexe(Common::PEResources &exe, MacWindowManager void MacMenu::printMenu(int level, MacMenuSubMenu *submenu) { if (!level) { - for (int i = 0; i < _items.size(); i++) { + for (uint i = 0; i < _items.size(); i++) { debug("0. %s", _items[i]->unicode ? convertFromU32String(_items[i]->unicodeName).c_str() : _items[i]->name.c_str()); if (_items[i]->submenu != nullptr) printMenu(level + 1, _items[i]->submenu); } } else { - for (int i = 0; i < submenu->subitems.size(); i++) { + for (uint i = 0; i < submenu->subitems.size(); i++) { debugN("%d. ", level); for (int j = 0; j < level; j++) debugN(" "); |