aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/user_interface.cpp
diff options
context:
space:
mode:
authorStrangerke2014-03-24 19:15:59 +0100
committerStrangerke2014-03-24 19:15:59 +0100
commit48e785c329937868b403869414344dbc78525a95 (patch)
tree362c3c293dd8ee7765f65a3de411fe81efc0ade4 /engines/mads/user_interface.cpp
parent0b1c15e6dcd2f16d5ef67e61fd4c8c0157f66706 (diff)
downloadscummvm-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.cpp2
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;
}