From 2e3bd0d760e03d2284e5afbd080020596022d4ca Mon Sep 17 00:00:00 2001 From: filiprrs Date: Thu, 29 Jul 2021 23:02:05 +0200 Subject: [PATCH] libhwcutils: resolve compilation errors Change-Id: I04ab2346fb3b4be505a3869b4882b7c47eadb3ac --- libhwcutils/ExynosMPPv2.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libhwcutils/ExynosMPPv2.cpp b/libhwcutils/ExynosMPPv2.cpp index a33bf32..ba17b34 100644 --- a/libhwcutils/ExynosMPPv2.cpp +++ b/libhwcutils/ExynosMPPv2.cpp @@ -735,7 +735,7 @@ int ExynosMPP::reallocateBuffers(private_handle_t *srcHandle, exynos_mpp_img &ds strerror(-ret)); return ret; } - HDEBUGLOGD(eDebugMPP, "%d dst buffer is allocated, mAllocatedBufferNum(%d)", mCurrentBuf, mAllocatedBufferNum); + HDEBUGLOGD(eDebugMPP, "%zu dst buffer is allocated, mAllocatedBufferNum(%d)", mCurrentBuf, mAllocatedBufferNum); mAllocatedBufferNum++; } @@ -747,7 +747,7 @@ int ExynosMPP::reallocateBuffers(private_handle_t *srcHandle, exynos_mpp_img &ds midImg.w, midImg.h, strerror(-ret)); return ret; } - HDEBUGLOGD(eDebugMPP, "%d mid buffer is allocated, mAllocatedBufferNum(%d)", mCurrentBuf, mAllocatedMidBufferNum); + HDEBUGLOGD(eDebugMPP, "%zu mid buffer is allocated, mAllocatedBufferNum(%d)", mCurrentBuf, mAllocatedMidBufferNum); mAllocatedMidBufferNum++; } -- 2.20.1