From aedf8593034303066bf83d041f63731aa65a3ef6 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 22 Apr 2014 23:28:23 +0200 Subject: MADS: Fix compilation warning --- engines/mads/scene.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3