aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;