From 472d987f226b33ee3bf8632268e75eb88c99c1ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E5=95=9F=E5=BD=AC?= <935159042@qq.com> Date: Wed, 6 Mar 2024 14:20:20 +0800 Subject: [PATCH] =?UTF-8?q?TicketNo:#I96AHF=20Description:=E8=A7=A3?= =?UTF-8?q?=E5=86=B3=E7=BC=96=E8=AF=91arm64=E6=8A=A5=E9=94=99=E8=BE=93?= =?UTF-8?q?=E5=87=BA=E6=A0=BC=E5=BC=8F=E9=97=AE=E9=A2=98=E3=80=82=20Signed?= =?UTF-8?q?-off-by:=20xuqibin=20<935159042@qq.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- services/local_code_sign/src/local_code_sign_service.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/local_code_sign/src/local_code_sign_service.cpp b/services/local_code_sign/src/local_code_sign_service.cpp index 47b1001..80d46a5 100644 --- a/services/local_code_sign/src/local_code_sign_service.cpp +++ b/services/local_code_sign/src/local_code_sign_service.cpp @@ -118,7 +118,7 @@ int32_t LocalCodeSignService::SignLocalCode(const std::string &ownerID, const st ByteBuffer &signature) { if (ownerID.length() > MAX_OWNER_ID_LEN) { - LOG_ERROR(LABEL, "ownerID len %{public}u should not exceed %{public}u", ownerID.length(), MAX_OWNER_ID_LEN); + LOG_ERROR(LABEL, "ownerID len %{public}zu should not exceed %{public}u", ownerID.length(), MAX_OWNER_ID_LEN); return CS_ERR_INVALID_OWNER_ID; } ByteBuffer digest; -- Gitee