summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-07 14:07:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-07 14:07:04 +0300
commit773b04791f1a918098265c466e5c7816aa8d9a48 (patch)
tree4e5e28306e99b9c658c2d372d5ff2327dba9fb47
parentbb0c7835a67206b55bfe1205ee1e3ba2ffc67814 (diff)
downloadmanaverse-773b04791f1a918098265c466e5c7816aa8d9a48.tar.gz
manaverse-773b04791f1a918098265c466e5c7816aa8d9a48.tar.bz2
manaverse-773b04791f1a918098265c466e5c7816aa8d9a48.tar.xz
manaverse-773b04791f1a918098265c466e5c7816aa8d9a48.zip
fix compilation warning on Android.
-rw-r--r--src/client.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 4fdb2e63a..6a01838e7 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2943,7 +2943,7 @@ void Client::logEvent(const SDL_Event &event)
case SDL_FINGERDOWN:
{
const SDL_TouchFingerEvent &touch = event.tfinger;
- logger->log("event: SDL_FINGERDOWN: %ld,%ld (%f,%f) (%f,%f)",
+ logger->log("event: SDL_FINGERDOWN: %lld,%lld (%f,%f) (%f,%f)",
touch.touchId, touch.fingerId, touch.x, touch.y,
touch.dx, touch.dy);
break;
@@ -2951,7 +2951,7 @@ void Client::logEvent(const SDL_Event &event)
case SDL_FINGERUP:
{
const SDL_TouchFingerEvent &touch = event.tfinger;
- logger->log("event: SDL_FINGERUP: %ld,%ld (%f,%f) (%f,%f)",
+ logger->log("event: SDL_FINGERUP: %lld,%lld (%f,%f) (%f,%f)",
touch.touchId, touch.fingerId, touch.x, touch.y,
touch.dx, touch.dy);
break;
@@ -2959,7 +2959,7 @@ void Client::logEvent(const SDL_Event &event)
case SDL_FINGERMOTION:
{
const SDL_TouchFingerEvent &touch = event.tfinger;
- logger->log("event: SDL_FINGERMOTION: %ld,%ld (%f,%f) (%f,%f)",
+ logger->log("event: SDL_FINGERMOTION: %lld,%lld (%f,%f) (%f,%f)",
touch.touchId, touch.fingerId, touch.x, touch.y,
touch.dx, touch.dy);
break;