diff options
author | Paul Gilbert | 2012-10-22 23:18:10 +1100 |
---|---|---|
committer | Paul Gilbert | 2012-10-22 23:18:10 +1100 |
commit | ece18540de490b88f83e91f296c085164c42f3a8 (patch) | |
tree | 2b65677d549896e55b142de8bc61030528974f3f /engines | |
parent | f5473de64946b383498a964ed261aa401ac252ad (diff) | |
download | scummvm-rg350-ece18540de490b88f83e91f296c085164c42f3a8.tar.gz scummvm-rg350-ece18540de490b88f83e91f296c085164c42f3a8.tar.bz2 scummvm-rg350-ece18540de490b88f83e91f296c085164c42f3a8.zip |
HOPKINS: Fix gcc compiler warnings in events.cpp
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hopkins/events.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/hopkins/events.cpp b/engines/hopkins/events.cpp index 1504a85fe2..94810e5c4c 100644 --- a/engines/hopkins/events.cpp +++ b/engines/hopkins/events.cpp @@ -263,13 +263,13 @@ void EventsManager::pollEvents() { } void EventsManager::VBL() { - signed __int16 v1; + int v1; int v2; int v3; int v4; int v5; int v6; - signed __int16 v7; + int v7; int v10; signed int v11 = 0; signed int v12 = 0; @@ -322,9 +322,9 @@ void EventsManager::VBL() { } else { if (v15 < _vm->_graphicsManager.min_x) v15 = _vm->_graphicsManager.min_x - v1; - v2 = (signed __int16)v2; - if (souris_y < _vm->_graphicsManager.min_y - (signed __int16)v2) - yp = _vm->_graphicsManager.min_y - (signed __int16)v2; + v2 = (int16)v2; + if (souris_y < _vm->_graphicsManager.min_y - (int16)v2) + yp = _vm->_graphicsManager.min_y - (int16)v2; if (souris_sizex + v15 >= _vm->_graphicsManager.max_x) v14 = souris_sizex - (souris_sizex + v15 - _vm->_graphicsManager.max_x - v1); if (yp + souris_sizey < v2 + _vm->_graphicsManager.max_y) |