aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorrichiesams2013-08-26 13:58:51 -0500
committerrichiesams2013-08-28 16:44:18 -0500
commit5e1215837ae29899dbb759a55b3de10b3dc0bee8 (patch)
tree4eaa39b98f07a7c7ea1f01a17a5c4a2b91294016 /engines
parentff97bb2eadcd26abb9a085f266e33b76594d2a21 (diff)
downloadscummvm-rg350-5e1215837ae29899dbb759a55b3de10b3dc0bee8.tar.gz
scummvm-rg350-5e1215837ae29899dbb759a55b3de10b3dc0bee8.tar.bz2
scummvm-rg350-5e1215837ae29899dbb759a55b3de10b3dc0bee8.zip
ZVISION: Fixed signed/unsigned mismatch
Diffstat (limited to 'engines')
-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) {