From 3a466a29ea91f829c542f9537b3f578e72af31f3 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 2 Aug 2016 20:04:06 -0400 Subject: TITANIC: Fix compiler warnings --- engines/titanic/support/movie.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/titanic/support') diff --git a/engines/titanic/support/movie.cpp b/engines/titanic/support/movie.cpp index 2784bda4b0..8810cf0a6c 100644 --- a/engines/titanic/support/movie.cpp +++ b/engines/titanic/support/movie.cpp @@ -133,7 +133,7 @@ void OSMovie::playClip(const Point &drawPos, uint startFrame, uint endFrame) { drawPos.y + (heightLess ? CLIP_HEIGHT_REDUCED : CLIP_HEIGHT) ); - uint timePerFrame = 1000 / _aviSurface._frameRate; + uint timePerFrame = (uint)(1000.0 / _aviSurface._frameRate); for (; endFrame >= startFrame; ++startFrame) { // Set the frame -- cgit v1.2.3