aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}