diff options
author | Bastien Bouclet | 2016-02-22 09:23:34 +0100 |
---|---|---|
committer | Bastien Bouclet | 2016-02-22 09:23:34 +0100 |
commit | e54568b889e53056f716a2999cb755147b77fefe (patch) | |
tree | fba16401320dd6a2695577bb71c09e342f4b6b2a | |
parent | 7044996cd530d1e0efa6a521be85c07111eb76df (diff) | |
download | scummvm-rg350-e54568b889e53056f716a2999cb755147b77fefe.tar.gz scummvm-rg350-e54568b889e53056f716a2999cb755147b77fefe.tar.bz2 scummvm-rg350-e54568b889e53056f716a2999cb755147b77fefe.zip |
MOHAWK: Silence a warning
-rw-r--r-- | engines/mohawk/myst_stacks/mechanical.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mohawk/myst_stacks/mechanical.cpp b/engines/mohawk/myst_stacks/mechanical.cpp index 20d01f57d2..3214c643a5 100644 --- a/engines/mohawk/myst_stacks/mechanical.cpp +++ b/engines/mohawk/myst_stacks/mechanical.cpp @@ -1003,9 +1003,9 @@ void Mechanical::fortressSimulation_run() { _fortressSimulationHoloRate = newRate; if (_fortressSimulationHoloRate < 0) { - uint32 newMoviePosition = moviePosition + _fortressSimulationHoloRate * 10; + double newMoviePosition = moviePosition + _fortressSimulationHoloRate * 10; holo->setRate(0); - holo->seek(Audio::Timestamp(0, newMoviePosition, 600)); + holo->seek(Audio::Timestamp(0, (uint)newMoviePosition, 600)); } else { holo->setRate(Common::Rational((int)(newRate * 1000.0), 1000)); } |