diff options
author | Lars Persson | 2009-11-10 09:31:47 +0000 |
---|---|---|
committer | Lars Persson | 2009-11-10 09:31:47 +0000 |
commit | e4e9080187b363dc73b3a777b9e0ff75acd6aa75 (patch) | |
tree | 6fa1490af6ed0b4362b81c5f1c5042cc9eede881 | |
parent | 65136b9acfe034a0065b216644866238fe01259f (diff) | |
download | scummvm-rg350-e4e9080187b363dc73b3a777b9e0ff75acd6aa75.tar.gz scummvm-rg350-e4e9080187b363dc73b3a777b9e0ff75acd6aa75.tar.bz2 scummvm-rg350-e4e9080187b363dc73b3a777b9e0ff75acd6aa75.zip |
Missing template argument for MIN (added <uint>)
svn-id: r45803
-rw-r--r-- | engines/m4/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/console.cpp b/engines/m4/console.cpp index 1a59d72bb4..7cf2120dc7 100644 --- a/engines/m4/console.cpp +++ b/engines/m4/console.cpp @@ -308,7 +308,7 @@ bool Console::cmdObject(int argc, const char **argv) { // List of objects for (uint objStart = 0; objStart < _vm->_globals->getObjectsSize(); objStart += 5) { DebugPrintf("%2d - ", objStart); - for (uint objId = objStart; objId < MIN(_vm->_globals->getObjectsSize(), objStart + 5); ++objId) { + for (uint objId = objStart; objId < MIN<uint>(_vm->_globals->getObjectsSize(), objStart + 5); ++objId) { if (objId != objStart) DebugPrintf(", "); uint16 descId = _vm->_globals->getObject(objId)->descId - 1; DebugPrintf("%s", _vm->_globals->getVocab(descId)); |