aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/drascula.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/drascula/drascula.cpp')
-rw-r--r--engines/drascula/drascula.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 38b4150edd..c75fcc12ad 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -4824,7 +4824,7 @@ void DrasculaEngine::MixVideo(byte *OldScreen, byte *NewScreen) {
void DrasculaEngine::WaitFrameSSN() {
uint32 now;
- while ((now = _system->getMillis()) - LastFrame < GlobalSpeed)
+ while ((now = _system->getMillis()) - LastFrame < ((uint32) GlobalSpeed))
_system->delayMillis(GlobalSpeed - (now - LastFrame));
LastFrame = LastFrame + GlobalSpeed;
}