[Scummvm-cvs-logs] SF.net SVN: scummvm: [22094] scummvm/trunk/engines/simon/animation.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Apr 23 04:36:04 CEST 2006
Revision: 22094
Author: fingolfin
Date: 2006-04-23 04:35:14 -0700 (Sun, 23 Apr 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22094&view=rev
Log Message:
-----------
Fix 'comparison between signed and unsigned integer' warning
Modified Paths:
--------------
scummvm/trunk/engines/simon/animation.cpp
Modified: scummvm/trunk/engines/simon/animation.cpp
===================================================================
--- scummvm/trunk/engines/simon/animation.cpp 2006-04-23 11:15:43 UTC (rev 22093)
+++ scummvm/trunk/engines/simon/animation.cpp 2006-04-23 11:35:14 UTC (rev 22094)
@@ -247,7 +247,7 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list