From 74b16c7e90e9b1dd011a85b447fc91073896a056 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 11 Aug 2007 14:22:39 +0000 Subject: Fix compiler warning svn-id: r28528 --- engines/drascula/drascula.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/drascula') 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; } -- cgit v1.2.3