Merge "Fix warning in logging string interpolation"

This commit is contained in:
Michael Wright 2014-06-10 03:12:19 +00:00 committed by Android (Google) Code Review
commit 25be048729

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;
}