From 63ff3a84ae5f60fc427aed4f63364b50695266d9 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Tue, 10 Jun 2014 13:03:17 -0700 Subject: [PATCH] Fixup more potential issues / warnings in string formats Change-Id: I323e44f950b2e758dc9ff4510b2e13ca870eb849 --- libs/input/InputTransport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/input/InputTransport.cpp b/libs/input/InputTransport.cpp index 21fd443971..090ee530d1 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; } -- 2.11.0