summaryrefslogtreecommitdiff
path: root/src/eventsmanager.cpp
diff options
context:
space:
mode:
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: