summaryrefslogtreecommitdiffstats
path: root/libs/input/InputTransport.cpp
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2014-06-10 13:03:17 -0700
committerMichael Wright <michaelwr@google.com>2014-06-10 13:03:17 -0700
commit63ff3a84ae5f60fc427aed4f63364b50695266d9 (patch)
tree5184f31ec42ea194177d97d6a2b8602fb7415f0a /libs/input/InputTransport.cpp
parentd0a4a6234f3d97f5e7fb86b028d3ee79dd4e3fa6 (diff)
downloadframeworks_native-63ff3a84ae5f60fc427aed4f63364b50695266d9.zip
frameworks_native-63ff3a84ae5f60fc427aed4f63364b50695266d9.tar.gz
frameworks_native-63ff3a84ae5f60fc427aed4f63364b50695266d9.tar.bz2
Fixup more potential issues / warnings in string formats
Change-Id: I323e44f950b2e758dc9ff4510b2e13ca870eb849
Diffstat (limited to 'libs/input/InputTransport.cpp')
-rw-r--r--libs/input/InputTransport.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/input/InputTransport.cpp b/libs/input/InputTransport.cpp
index 21fd443..090ee53 100644
--- a/libs/input/InputTransport.cpp
+++ b/libs/input/InputTransport.cpp
@@ -301,7 +301,7 @@ status_t InputPublisher::publishMotionEvent(
"action=0x%x, flags=0x%x, edgeFlags=0x%x, metaState=0x%x, buttonState=0x%x, "
"xOffset=%f, yOffset=%f, "
"xPrecision=%f, yPrecision=%f, downTime=%lld, eventTime=%lld, "
- "pointerCount=%d",
+ "pointerCount=%" PRIu32,
mChannel->getName().string(), seq,
deviceId, source, action, flags, edgeFlags, metaState, buttonState,
xOffset, yOffset, xPrecision, yPrecision, downTime, eventTime, pointerCount);
@@ -313,7 +313,7 @@ status_t InputPublisher::publishMotionEvent(
}
if (pointerCount > MAX_POINTERS || pointerCount < 1) {
- ALOGE("channel '%s' publisher ~ Invalid number of pointers provided: %"PRIu32".",
+ ALOGE("channel '%s' publisher ~ Invalid number of pointers provided: %" PRIu32 ".",
mChannel->getName().string(), pointerCount);
return BAD_VALUE;
}