diff options
author | Strangerke | 2014-03-24 19:15:59 +0100 |
---|---|---|
committer | Strangerke | 2014-03-24 19:15:59 +0100 |
commit | 48e785c329937868b403869414344dbc78525a95 (patch) | |
tree | 362c3c293dd8ee7765f65a3de411fe81efc0ade4 /engines/mads/user_interface.cpp | |
parent | 0b1c15e6dcd2f16d5ef67e61fd4c8c0157f66706 (diff) | |
download | scummvm-rg350-48e785c329937868b403869414344dbc78525a95.tar.gz scummvm-rg350-48e785c329937868b403869414344dbc78525a95.tar.bz2 scummvm-rg350-48e785c329937868b403869414344dbc78525a95.zip |
MADS: Fix a couple of warnings in the hotspot code
Diffstat (limited to 'engines/mads/user_interface.cpp')
-rw-r--r-- | engines/mads/user_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/user_interface.cpp b/engines/mads/user_interface.cpp index 2ea656d0c5..28fc5a6e55 100644 --- a/engines/mads/user_interface.cpp +++ b/engines/mads/user_interface.cpp @@ -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; } |