diff options
author | Strangerke | 2014-04-22 23:28:23 +0200 |
---|---|---|
committer | Strangerke | 2014-04-22 23:28:23 +0200 |
commit | aedf8593034303066bf83d041f63731aa65a3ef6 (patch) | |
tree | 28842cc18ea28231a0d2914ad51ddbc862179487 | |
parent | b2e2a2deeee660ec2b28bc0098dfe0da67869e04 (diff) | |
download | scummvm-rg350-aedf8593034303066bf83d041f63731aa65a3ef6.tar.gz scummvm-rg350-aedf8593034303066bf83d041f63731aa65a3ef6.tar.bz2 scummvm-rg350-aedf8593034303066bf83d041f63731aa65a3ef6.zip |
MADS: Fix compilation warning
-rw-r--r-- | engines/mads/scene.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/scene.cpp b/engines/mads/scene.cpp index e6888162d3..9d0332e600 100644 --- a/engines/mads/scene.cpp +++ b/engines/mads/scene.cpp @@ -275,7 +275,7 @@ void Scene::animatePalette() { if (_cyclingDelay >= _cyclingThreshold) { uint32 frameCounter = _vm->_events->getFrameCounter(); bool changesFlag = false; - for (int idx = 0; idx < _paletteCycles.size(); idx++) { + for (uint16 idx = 0; idx < _paletteCycles.size(); idx++) { if (frameCounter >= (_cycleTicks[idx] + _paletteCycles[idx]._ticks)) { _cycleTicks[idx] = frameCounter; int count = _paletteCycles[idx]._colorCount; |