aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/scripting
diff options
context:
space:
mode:
authorFilippos Karapetis2014-12-26 12:42:01 +0200
committerFilippos Karapetis2014-12-26 12:42:01 +0200
commite8820d26e7d673f96c416f93dd16811107e94cb4 (patch)
treedcd8dfcf094243b5f049a33f44c57eee6be5b2d3 /engines/zvision/scripting
parent5a72eea2bb102bafb6da112ea90ad1f4af11e1f2 (diff)
downloadscummvm-rg350-e8820d26e7d673f96c416f93dd16811107e94cb4.tar.gz
scummvm-rg350-e8820d26e7d673f96c416f93dd16811107e94cb4.tar.bz2
scummvm-rg350-e8820d26e7d673f96c416f93dd16811107e94cb4.zip
ZVISION: Fix a warning
Diffstat (limited to 'engines/zvision/scripting')
-rw-r--r--engines/zvision/scripting/controls/input_control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/scripting/controls/input_control.cpp b/engines/zvision/scripting/controls/input_control.cpp
index e1e6e6ec9d..4abc0c9e1b 100644
--- a/engines/zvision/scripting/controls/input_control.cpp
+++ b/engines/zvision/scripting/controls/input_control.cpp
@@ -223,7 +223,7 @@ bool InputControl::process(uint32 deltaTimeInMillis) {
if (needDraw) {
_animation->seekToFrame(_frame);
const Graphics::Surface *srf = _animation->decodeNextFrame();
- uint32 xx = _textRectangle.left + _txtWidth;
+ int16 xx = _textRectangle.left + _txtWidth;
if (xx >= _textRectangle.left + (_textRectangle.width() - (int16)_animation->getWidth()))
xx = _textRectangle.left + _textRectangle.width() - (int16)_animation->getWidth();
_engine->getRenderManager()->blitSurfaceToBkg(*srf, xx, _textRectangle.top);