MADS: Fix a couple of warnings in the hotspot code

This commit is contained in:
Strangerke 2014-03-24 19:15:59 +01:00
parent 0b1c15e6dc
commit 48e785c329
2 changed files with 2 additions and 2 deletions

View file

@ -665,7 +665,7 @@ void UserInterface::scrollInventory() {
_scrollFlag = true;
if (yp == (MADS_SCREEN_HEIGHT - 1)) {
if (_inventoryTopIndex < (invList.size() - 1)) {
if (_inventoryTopIndex < (int)(invList.size() - 1)) {
++_inventoryTopIndex;
_inventoryChanged = true;
}