diff options
-rw-r--r-- | engines/tsage/user_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tsage/user_interface.cpp b/engines/tsage/user_interface.cpp index 43072c89aa..09cc2fd56d 100644 --- a/engines/tsage/user_interface.cpp +++ b/engines/tsage/user_interface.cpp @@ -486,7 +486,7 @@ void UIElements::updateInventory(int objectNumber) { // Handle changing the page, if necessary, to ensure an optionally supplied // object number will be on-screen if (objectNumber != 0) { - for (int idx = 0; idx < _itemList.size(); ++idx) { + for (uint idx = 0; idx < _itemList.size(); ++idx) { if (_itemList[idx] == objectNumber) { _slotStart = idx / 4; break; |