aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/render_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/render_manager.cpp')
-rw-r--r--engines/zvision/render_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index ac02cc24d6..fa45a6f576 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -66,7 +66,7 @@ void RenderManager::update(uint deltaTimeInMillis) {
if (_backgroundInverseVelocity != 0) {
_accumulatedVelocityMilliseconds += deltaTimeInMillis;
- int absVelocity = abs(_backgroundInverseVelocity);
+ uint absVelocity = uint(abs(_backgroundInverseVelocity));
int numberOfSteps = 0;
while (_accumulatedVelocityMilliseconds >= absVelocity) {