diff options
author | Max Horn | 2006-04-23 11:35:14 +0000 |
---|---|---|
committer | Max Horn | 2006-04-23 11:35:14 +0000 |
commit | cbb5f5fc75deba04bfd2a3ca67eef3b6594044c5 (patch) | |
tree | 483c6454fc951e0b35660b386c3b73a8f6790d07 | |
parent | f26b55c7a3cea614db32172d5c1167748d87d84f (diff) | |
download | scummvm-rg350-cbb5f5fc75deba04bfd2a3ca67eef3b6594044c5.tar.gz scummvm-rg350-cbb5f5fc75deba04bfd2a3ca67eef3b6594044c5.tar.bz2 scummvm-rg350-cbb5f5fc75deba04bfd2a3ca67eef3b6594044c5.zip |
Fix 'comparison between signed and unsigned integer' warning
svn-id: r22094
-rw-r--r-- | engines/simon/animation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |