From 5e1215837ae29899dbb759a55b3de10b3dc0bee8 Mon Sep 17 00:00:00 2001 From: richiesams Date: Mon, 26 Aug 2013 13:58:51 -0500 Subject: ZVISION: Fixed signed/unsigned mismatch --- engines/zvision/render_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/zvision') 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) { -- cgit v1.2.3