Fix warning in logging string interpolation

Change-Id: I86623083f68664d31ea277958837a4c2985037b4
This commit is contained in:
Michael Wright 2014-06-09 19:03:32 -07:00
parent 0d7271527f
commit d0a4a6234f
1 changed files with 2 additions and 1 deletions

View File

@ -22,6 +22,7 @@
#include <errno.h>
#include <fcntl.h>
#include <inttypes.h>
#include <math.h>
#include <sys/types.h>
#include <sys/socket.h>
@ -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;
}