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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/drascula/drascula.cpp b/engines/drascula/drascula.cpp
index 90147818de..97daab263d 100644
--- a/engines/drascula/drascula.cpp
+++ b/engines/drascula/drascula.cpp
@@ -4348,7 +4348,8 @@ void DrasculaEngine::MixVideo(byte *OldScreen, byte *NewScreen) {
}
void DrasculaEngine::WaitFrameSSN() {
- while (clock() < LastFrame + GlobalSpeed) {};
+ while ((int)clock() < LastFrame + GlobalSpeed)
+ ;
LastFrame = LastFrame + GlobalSpeed;
}