diff options
author | Willem Jan Palenstijn | 2009-02-21 22:35:35 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2009-02-21 22:35:35 +0000 |
commit | 145d5c44939a1bed6d7ddbc16a1ff92f3f9759bf (patch) | |
tree | f2ac0a0a909681e3f2b0e4cebaf475ed86a61ec4 /engines/sci/gfx | |
parent | b18c96ca8710c600dee584c2a5c9b9539766a1f4 (diff) | |
download | scummvm-rg350-145d5c44939a1bed6d7ddbc16a1ff92f3f9759bf.tar.gz scummvm-rg350-145d5c44939a1bed6d7ddbc16a1ff92f3f9759bf.tar.bz2 scummvm-rg350-145d5c44939a1bed6d7ddbc16a1ff92f3f9759bf.zip |
fix hang on 64bit platforms
svn-id: r38756
Diffstat (limited to 'engines/sci/gfx')
-rw-r--r-- | engines/sci/gfx/operations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gfx/operations.cpp b/engines/sci/gfx/operations.cpp index d7fedf1d05..70734cc3d5 100644 --- a/engines/sci/gfx/operations.cpp +++ b/engines/sci/gfx/operations.cpp @@ -1377,7 +1377,7 @@ int gfxop_usleep(gfx_state_t *state, long usecs) { 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) { |