mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
TSAGE: Silence GCC signed/unsigned warning
This commit is contained in:
parent
c9115241de
commit
91610df204
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user