From cbb5f5fc75deba04bfd2a3ca67eef3b6594044c5 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 23 Apr 2006 11:35:14 +0000 Subject: Fix 'comparison between signed and unsigned integer' warning svn-id: r22094 --- engines/simon/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/simon/animation.cpp b/engines/simon/animation.cpp index a00c21dba0..26bf873f71 100644 --- a/engines/simon/animation.cpp +++ b/engines/simon/animation.cpp @@ -247,7 +247,7 @@ void MoviePlayer::processFrame() { memcpy(_vm->_frontBuf, _frameBuffer1, _frameSize); _vm->_system->copyRectToScreen(_vm->_frontBuf, _width, x, y, _width, _height); - if ((_bgSoundStream == NULL) || ((_mixer->getSoundElapsedTime(_bgSound) * _frameRate) / 1000 < _frameNum + 1) || + if ((_bgSoundStream == NULL) || ((int)(_mixer->getSoundElapsedTime(_bgSound) * _frameRate) / 1000 < _frameNum + 1) || _frameSkipped > _frameRate) { if (_frameSkipped > _frameRate) { warning("force frame %i redraw", _frameNum); -- cgit v1.2.3