aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem_events.cpp
diff options
context:
space:
mode:
authorAndre Heider2009-03-20 19:02:32 +0000
committerAndre Heider2009-03-20 19:02:32 +0000
commit317de0f4847c912a405e318368331f86f1e0f0cd (patch)
tree7060dd8a1b3db2813953b1e91106c6639a643ad5 /backends/platform/wii/osystem_events.cpp
parent40e55d25931a090bab6665547f05e94bf068998b (diff)
downloadscummvm-rg350-317de0f4847c912a405e318368331f86f1e0f0cd.tar.gz
scummvm-rg350-317de0f4847c912a405e318368331f86f1e0f0cd.tar.bz2
scummvm-rg350-317de0f4847c912a405e318368331f86f1e0f0cd.zip
Fix some warnings in the Wii backend.
svn-id: r39570
Diffstat (limited to 'backends/platform/wii/osystem_events.cpp')
-rw-r--r--backends/platform/wii/osystem_events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/wii/osystem_events.cpp b/backends/platform/wii/osystem_events.cpp
index 05f3469e42..f28e5b547b 100644
--- a/backends/platform/wii/osystem_events.cpp
+++ b/backends/platform/wii/osystem_events.cpp
@@ -357,8 +357,8 @@ bool OSystem_Wii::pollEvent(Common::Event &event) {
WPAD_IR(0, &ir);
if (ir.valid) {
- mx = ir.x - _currentWidth / 10;
- my = ir.y - _currentHeight / 10;
+ mx = s32(ir.x) - _currentWidth / 10;
+ my = s32(ir.y) - _currentHeight / 10;
if (mx < 0)
mx = 0;