From d0a4a6234f3d97f5e7fb86b028d3ee79dd4e3fa6 Mon Sep 17 00:00:00 2001 From: Michael Wright Date: Mon, 9 Jun 2014 19:03:32 -0700 Subject: [PATCH] Fix warning in logging string interpolation Change-Id: I86623083f68664d31ea277958837a4c2985037b4 --- libs/input/InputTransport.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/input/InputTransport.cpp b/libs/input/InputTransport.cpp index 5bad2e697..21fd44397 100644 --- a/libs/input/InputTransport.cpp +++ b/libs/input/InputTransport.cpp @@ -22,6 +22,7 @@ #include #include +#include #include #include #include @@ -312,7 +313,7 @@ status_t InputPublisher::publishMotionEvent( } if (pointerCount > MAX_POINTERS || pointerCount < 1) { - ALOGE("channel '%s' publisher ~ Invalid number of pointers provided: %zu.", + ALOGE("channel '%s' publisher ~ Invalid number of pointers provided: %"PRIu32".", mChannel->getName().string(), pointerCount); return BAD_VALUE; }