summaryrefslogtreecommitdiff
path: root/src/eventsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-10 19:14:48 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-10 19:14:48 +0300
commite8f099cace1d77dd9ff12b4231871c6e122a739d (patch)
treea873108303b514b2e67191e5f04d51e3c3a53f69 /src/eventsmanager.cpp
parent768a7e7499a95bb3ce14600e8050bcbbaaeed31f (diff)
downloadmanaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.gz
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.bz2
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.tar.xz
manaverse-e8f099cace1d77dd9ff12b4231871c6e122a739d.zip
fix code style.
Diffstat (limited to 'src/eventsmanager.cpp')
-rw-r--r--src/eventsmanager.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/eventsmanager.cpp b/src/eventsmanager.cpp
index a9e2f4169..4786e4402 100644
--- a/src/eventsmanager.cpp
+++ b/src/eventsmanager.cpp
@@ -232,8 +232,9 @@ void EventsManager::logEvent(const SDL_Event &event)
logger->log("event: SDL_MULTIGESTURE: %u %f,%f (%f,%f) %d,%d",
static_cast<unsigned int>(gesture.touchId),
gesture.dTheta, gesture.dDist,
- gesture.x * w, gesture.y * h, (int)gesture.numFingers,
- (int)gesture.padding);
+ gesture.x * w, gesture.y * h,
+ static_cast<int>(gesture.numFingers),
+ static_cast<int>(gesture.padding));
break;
}
case SDL_KEYDOWN: