From edf310c8946dbefbd94c887d656523bece672481 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Mon, 14 Oct 2019 03:29:15 +0100 Subject: GRAPHICS: MACGUI: Fix GCC Signed vs. Unsigned Warnings --- graphics/macgui/macmenu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'graphics') 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; -- cgit v1.2.3