aboutsummaryrefslogtreecommitdiff
path: root/backends/events/sdl/sdl-events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/events/sdl/sdl-events.cpp')
-rw-r--r--backends/events/sdl/sdl-events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/events/sdl/sdl-events.cpp b/backends/events/sdl/sdl-events.cpp
index 50235171f5..29be7d4e74 100644
--- a/backends/events/sdl/sdl-events.cpp
+++ b/backends/events/sdl/sdl-events.cpp
@@ -287,8 +287,8 @@ void SdlEventSource::updateKbdMouse() {
}
bool SdlEventSource::handleKbdMouse(Common::Event &event) {
- int16 oldKmX = _km.x;
- int16 oldKmY = _km.y;
+ int32 oldKmX = _km.x;
+ int32 oldKmY = _km.y;
updateKbdMouse();