diff options
author | Paul Gilbert | 2016-08-02 20:04:06 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-02 20:04:06 -0400 |
commit | 3a466a29ea91f829c542f9537b3f578e72af31f3 (patch) | |
tree | 0ae8ac2db0c1f4a6c190afde7e04a574044f1a65 /engines/titanic/support | |
parent | 99b353b9fef51eccbf88b1bfa8a69381369dfd50 (diff) | |
download | scummvm-rg350-3a466a29ea91f829c542f9537b3f578e72af31f3.tar.gz scummvm-rg350-3a466a29ea91f829c542f9537b3f578e72af31f3.tar.bz2 scummvm-rg350-3a466a29ea91f829c542f9537b3f578e72af31f3.zip |
TITANIC: Fix compiler warnings
Diffstat (limited to 'engines/titanic/support')
-rw-r--r-- | engines/titanic/support/movie.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |