diff options
author | Paul Gilbert | 2015-06-29 19:43:44 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-06-29 19:43:44 -0400 |
commit | e4b4fd049364c839f0987cc982a01c57f70366bf (patch) | |
tree | d9669430b4064b288d5a3994190b80f026932d7e /engines/sherlock/scalpel/scalpel_inventory.cpp | |
parent | 29a53493acb7c9da9b7e4bf887d9d46328b4ff89 (diff) | |
download | scummvm-rg350-e4b4fd049364c839f0987cc982a01c57f70366bf.tar.gz scummvm-rg350-e4b4fd049364c839f0987cc982a01c57f70366bf.tar.bz2 scummvm-rg350-e4b4fd049364c839f0987cc982a01c57f70366bf.zip |
SHERLOCK: RT: Fix Coverity problems
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_inventory.cpp')
-rw-r--r-- | engines/sherlock/scalpel/scalpel_inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_inventory.cpp b/engines/sherlock/scalpel/scalpel_inventory.cpp index 11f2b33eac..e19a43238c 100644 --- a/engines/sherlock/scalpel/scalpel_inventory.cpp +++ b/engines/sherlock/scalpel/scalpel_inventory.cpp @@ -85,7 +85,7 @@ void ScalpelInventory::drawInventory(InvNewMode mode) { if (tempMode == INVENTORY_DONT_DISPLAY) mode = LOOK_INVENTORY_MODE; - _invMode = (InvMode)mode; + _invMode = (InvMode)((int)mode); if (mode != PLAIN_INVENTORY) { ui._oldKey = INVENTORY_COMMANDS[(int)mode]; |