aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_inventory.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-28 17:20:50 +0200
committerEugene Sandulenko2016-05-28 17:20:50 +0200
commit35186ae5b008830d057fb15fc0195e22cce23fbd (patch)
treee8de10b6286b54452b8aa04bd8cd5325d7d94c05 /engines/sherlock/scalpel/scalpel_inventory.cpp
parent31913eee17dea5a5baad1d4927dd723e22afd097 (diff)
downloadscummvm-rg350-35186ae5b008830d057fb15fc0195e22cce23fbd.tar.gz
scummvm-rg350-35186ae5b008830d057fb15fc0195e22cce23fbd.tar.bz2
scummvm-rg350-35186ae5b008830d057fb15fc0195e22cce23fbd.zip
SHERLOCK: Fix warnings
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_inventory.cpp')
-rw-r--r--engines/sherlock/scalpel/scalpel_inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_inventory.cpp b/engines/sherlock/scalpel/scalpel_inventory.cpp
index 6eb8c2c05c..07659b41f2 100644
--- a/engines/sherlock/scalpel/scalpel_inventory.cpp
+++ b/engines/sherlock/scalpel/scalpel_inventory.cpp
@@ -109,7 +109,7 @@ void ScalpelInventory::drawInventory(InvNewMode mode) {
_invMode = (InvMode)((int)mode);
if (mode != PLAIN_INVENTORY) {
- assert(mode < sizeof(_hotkeysIndexed));
+ assert((uint)mode < sizeof(_hotkeysIndexed));
ui._oldKey = _hotkeysIndexed[mode];
} else {
ui._oldKey = -1;