diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-15 19:46:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-15 23:35:48 +0300 |
commit | 243932ef169949917f17d3107e00f97886da0a14 (patch) | |
tree | 8f11d6e99b250ff480a32b04ea3bbb0ce9bc7f14 /src/eventsmanager.cpp | |
parent | 3658d5a5564db6f0854ec9378c485aef8acc8992 (diff) | |
download | manaplus-243932ef169949917f17d3107e00f97886da0a14.tar.gz manaplus-243932ef169949917f17d3107e00f97886da0a14.tar.bz2 manaplus-243932ef169949917f17d3107e00f97886da0a14.tar.xz manaplus-243932ef169949917f17d3107e00f97886da0a14.zip |
Fix code style.
Diffstat (limited to 'src/eventsmanager.cpp')
-rw-r--r-- | src/eventsmanager.cpp | 6 |
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: { |