diff options
author | Strangerke | 2014-11-26 00:04:16 +0100 |
---|---|---|
committer | Paul Gilbert | 2014-12-12 22:46:01 -0500 |
commit | 0a28a77e1a6339c292826b264047bd439290fe16 (patch) | |
tree | 81c8e670a50088b76cf3fb2aebf2503d7b366305 /engines | |
parent | 451a29ada517fad99a5de823efca8758416ccd46 (diff) | |
download | scummvm-rg350-0a28a77e1a6339c292826b264047bd439290fe16.tar.gz scummvm-rg350-0a28a77e1a6339c292826b264047bd439290fe16.tar.bz2 scummvm-rg350-0a28a77e1a6339c292826b264047bd439290fe16.zip |
ACCESS: Silent warning
Diffstat (limited to 'engines')
-rw-r--r-- | engines/access/inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/access/inventory.cpp b/engines/access/inventory.cpp index 11baa8fc08..629b89f155 100644 --- a/engines/access/inventory.cpp +++ b/engines/access/inventory.cpp @@ -90,7 +90,7 @@ int &InventoryManager::operator[](int idx) { // WORKAROUND: At least in Amazon, some game scripts accidentally do reads // beyond the length of the inventory array static int invalid = 0; - return (idx >= _inv.size()) ? invalid : _inv[idx]._value; + return (idx >= (int)_inv.size()) ? invalid : _inv[idx]._value; } int InventoryManager::useItem() { |