aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-10-14 03:29:15 +0100
committerD G Turner2019-10-14 03:29:15 +0100
commitedf310c8946dbefbd94c887d656523bece672481 (patch)
treefe52611461337fd517a69841b23f8d79aca6abd6
parent1571b7c965e3c23d40cffceba2244e1aed5875a1 (diff)
downloadscummvm-rg350-edf310c8946dbefbd94c887d656523bece672481.tar.gz
scummvm-rg350-edf310c8946dbefbd94c887d656523bece672481.tar.bz2
scummvm-rg350-edf310c8946dbefbd94c887d656523bece672481.zip
GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Warnings
-rw-r--r--graphics/macgui/macmenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/macmenu.cpp b/graphics/macgui/macmenu.cpp
index 25db9afacd..42f1d32f58 100644
--- a/graphics/macgui/macmenu.cpp
+++ b/graphics/macgui/macmenu.cpp
@@ -589,7 +589,7 @@ void MacMenu::processSubmenuTabs(MacMenuSubMenu *submenu) {
Common::U32String res(item->unicodeText);
- int pos = item->unicodeText.find(tabSymbol);
+ uint32 pos = item->unicodeText.find(tabSymbol);
if (pos != Common::U32String::npos) {
// Sanity check
@@ -625,7 +625,7 @@ void MacMenu::processSubmenuTabs(MacMenuSubMenu *submenu) {
if (item->unicodeText.empty())
continue;
- int pos = item->unicodeText.find(tabSymbol);
+ uint32 pos = item->unicodeText.find(tabSymbol);
if (pos == Common::U32String::npos)
continue;