aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/graphics/render_manager.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2015-04-11 16:11:21 -0400
committerMatthew Hoops2015-04-11 16:12:47 -0400
commitddf170de4a33fac4cac3093bf6dd97d253216092 (patch)
tree1c2eb38f62d669b386f46bf660cc9d6ab2671c5e /engines/zvision/graphics/render_manager.cpp
parent75acef75661cc4554ad0bf114d62bf553afae7ab (diff)
downloadscummvm-rg350-ddf170de4a33fac4cac3093bf6dd97d253216092.tar.gz
scummvm-rg350-ddf170de4a33fac4cac3093bf6dd97d253216092.tar.bz2
scummvm-rg350-ddf170de4a33fac4cac3093bf6dd97d253216092.zip
ZVISION: Silence gcc warnings
Diffstat (limited to 'engines/zvision/graphics/render_manager.cpp')
-rw-r--r--engines/zvision/graphics/render_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/graphics/render_manager.cpp b/engines/zvision/graphics/render_manager.cpp
index 3772d5909e..ce0a02a1ad 100644
--- a/engines/zvision/graphics/render_manager.cpp
+++ b/engines/zvision/graphics/render_manager.cpp
@@ -1108,7 +1108,7 @@ void RenderManager::updateRotation() {
int16 newPosition = startPosition + _velocity;
int16 screenHeight = getBkgSize().y;
- int16 tiltGap = _renderTable.getTiltGap();
+ int16 tiltGap = (int16)_renderTable.getTiltGap();
if (newPosition >= (screenHeight - tiltGap))
newPosition = screenHeight - tiltGap;
@@ -1143,7 +1143,7 @@ void RenderManager::checkBorders() {
int16 newPosition = startPosition;
int16 screenHeight = getBkgSize().y;
- int16 tiltGap = _renderTable.getTiltGap();
+ int16 tiltGap = (int16)_renderTable.getTiltGap();
if (newPosition >= (screenHeight - tiltGap))
newPosition = screenHeight - tiltGap;