Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ac7efc8 authored by Steven Moreland's avatar Steven Moreland
Browse files

EvsCamera: %lu -> %zd for size_t print

lu causes a warning when size_t isn't 64-bit

Test: pass
Change-Id: If8f5c45273713e67478226db66ce73bd64f4e063
parent 48c52249
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 %lu)",
            ALOGE("ignoring doneWithFrame called with invalid bufferId %d (max is %zd)",
                  buffer.bufferId, mBuffers.size()-1);
        } else if (!mBuffers[buffer.bufferId].inUse) {
            ALOGE("ignoring doneWithFrame called on frame %d which is already free",