diff options
| author | Filippos Karapetis | 2014-12-26 12:42:01 +0200 | 
|---|---|---|
| committer | Filippos Karapetis | 2014-12-26 12:42:01 +0200 | 
| commit | e8820d26e7d673f96c416f93dd16811107e94cb4 (patch) | |
| tree | dcd8dfcf094243b5f049a33f44c57eee6be5b2d3 | |
| parent | 5a72eea2bb102bafb6da112ea90ad1f4af11e1f2 (diff) | |
| download | scummvm-rg350-e8820d26e7d673f96c416f93dd16811107e94cb4.tar.gz scummvm-rg350-e8820d26e7d673f96c416f93dd16811107e94cb4.tar.bz2 scummvm-rg350-e8820d26e7d673f96c416f93dd16811107e94cb4.zip  | |
ZVISION: Fix a warning
| -rw-r--r-- | engines/zvision/scripting/controls/input_control.cpp | 2 | 
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);  | 
