diff options
author | Borja Lorente | 2016-07-18 15:26:06 +0200 |
---|---|---|
committer | Borja Lorente | 2016-08-14 18:55:17 +0200 |
commit | 014d1b7dcbb27b9db35a02be99338d3525e72349 (patch) | |
tree | 8924bfe6282d88f72b2025c001187236e97ad52a /engines/macventure/world.cpp | |
parent | 886330770ff7b9b1c9bb8c9374628f7b0aef4785 (diff) | |
download | scummvm-rg350-014d1b7dcbb27b9db35a02be99338d3525e72349.tar.gz scummvm-rg350-014d1b7dcbb27b9db35a02be99338d3525e72349.tar.bz2 scummvm-rg350-014d1b7dcbb27b9db35a02be99338d3525e72349.zip |
MACVENTURE: Fix sign issue
Diffstat (limited to 'engines/macventure/world.cpp')
-rw-r--r-- | engines/macventure/world.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/macventure/world.cpp b/engines/macventure/world.cpp index cf13b78e48..ab35226aa0 100644 --- a/engines/macventure/world.cpp +++ b/engines/macventure/world.cpp @@ -41,7 +41,7 @@ World::~World() { uint32 World::getObjAttr(ObjID objID, uint32 attrID) { - uint32 res; + int res; uint32 index = _engine->getGlobalSettings().attrIndices[attrID]; // HACK, but if I try to initialize it in the else clause, it goes out of scope and segfaults Common::SeekableReadStream *objStream = _objectConstants->getItem(objID); |