summaryrefslogtreecommitdiffstats
path: root/automotive
diff options
context:
space:
mode:
authorSteven Moreland <smoreland@google.com>2017-03-10 21:05:09 -0800
committerSteven Moreland <smoreland@google.com>2017-03-10 21:05:09 -0800
commit25197e9240138ab2a4a948b1b85d3bc0edcea718 (patch)
treee25cafd97a7db85db9e000fbd13dd0739fe93465 /automotive
parent54baa3b1019c2d468b8189a5074d7fcb30272d7d (diff)
downloadplatform_hardware_interfaces-25197e9240138ab2a4a948b1b85d3bc0edcea718.tar.gz
platform_hardware_interfaces-25197e9240138ab2a4a948b1b85d3bc0edcea718.tar.bz2
platform_hardware_interfaces-25197e9240138ab2a4a948b1b85d3bc0edcea718.zip
EvsCamera: %zd -> %zu for size_t print
%zd doesn't throw a warning, but %zu is technically correct. Change-Id: I3762d01cc424ecf84e73c21afe5a5a3d295fe782
Diffstat (limited to 'automotive')
-rw-r--r--automotive/evs/1.0/default/EvsCamera.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/automotive/evs/1.0/default/EvsCamera.cpp b/automotive/evs/1.0/default/EvsCamera.cpp
index 542cd1fad3..c4436ee12b 100644
--- a/automotive/evs/1.0/default/EvsCamera.cpp
+++ b/automotive/evs/1.0/default/EvsCamera.cpp
@@ -162,7 +162,7 @@ Return<void> EvsCamera::doneWithFrame(const BufferDesc& buffer) {
if (buffer.memHandle == nullptr) {
ALOGE("ignoring doneWithFrame called with null handle");
} else if (buffer.bufferId >= mBuffers.size()) {
- ALOGE("ignoring doneWithFrame called with invalid bufferId %d (max is %zd)",
+ ALOGE("ignoring doneWithFrame called with invalid bufferId %d (max is %zu)",
buffer.bufferId, mBuffers.size()-1);
} else if (!mBuffers[buffer.bufferId].inUse) {
ALOGE("ignoring doneWithFrame called on frame %d which is already free",