summaryrefslogtreecommitdiff
path: root/src/eventsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventsmanager.cpp')
-rw-r--r--src/eventsmanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/eventsmanager.cpp b/src/eventsmanager.cpp
index b79c382b8..37baa084e 100644
--- a/src/eventsmanager.cpp
+++ b/src/eventsmanager.cpp
@@ -212,8 +212,10 @@ void EventsManager::logEvent(const SDL_Event &event)
break
case SDL_MOUSEMOTION:
- logger->log("event: SDL_MOUSEMOTION: %u,%u,%u",
- event.motion.state, event.motion.x, event.motion.y);
+ logger->log("event: SDL_MOUSEMOTION: %u,%d,%d",
+ event.motion.state,
+ static_cast<int>(event.motion.x),
+ static_cast<int>(event.motion.y));
break;
case SDL_FINGERDOWN:
{