[Scummvm-cvs-logs] SF.net SVN: scummvm:[38756] scummvm/trunk/engines/sci/gfx/operations.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sat Feb 21 23:35:35 CET 2009
Revision: 38756
http://scummvm.svn.sourceforge.net/scummvm/?rev=38756&view=rev
Author: wjpalenstijn
Date: 2009-02-21 22:35:35 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
fix hang on 64bit platforms
Modified Paths:
--------------
scummvm/trunk/engines/sci/gfx/operations.cpp
Modified: scummvm/trunk/engines/sci/gfx/operations.cpp
===================================================================
--- scummvm/trunk/engines/sci/gfx/operations.cpp 2009-02-21 22:14:26 UTC (rev 38755)
+++ scummvm/trunk/engines/sci/gfx/operations.cpp 2009-02-21 22:35:35 UTC (rev 38756)
@@ -1377,7 +1377,7 @@
do {
GFXOP_FULL_POINTER_REFRESH;
time = g_system->getMillis();
- usecs = 1000l * (wakeup_time - time);
+ usecs = 1000 * ((long)wakeup_time - (long)time);
} while ((usecs > 0) && !(retval = state->driver->usec_sleep(state->driver, usecs)));
if (retval) {
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