OSDN Git Service
(root)
/
android-x86
/
frameworks-native.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d72715
)
Fix warning in logging string interpolation
author
Michael Wright
<michaelwr@google.com>
Tue, 10 Jun 2014 02:03:32 +0000
(19:03 -0700)
committer
Michael Wright
<michaelwr@google.com>
Tue, 10 Jun 2014 02:03:32 +0000
(19:03 -0700)
Change-Id: I86623083f68664d31ea277958837a4c2985037b4
libs/input/InputTransport.cpp
patch
|
blob
|
history
diff --git
a/libs/input/InputTransport.cpp
b/libs/input/InputTransport.cpp
index
5bad2e6
..
21fd443
100644
(file)
--- a/
libs/input/InputTransport.cpp
+++ b/
libs/input/InputTransport.cpp
@@
-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;
}