From 4afdd69434884ef1ed6c97ce6a1427ed700995d4 Mon Sep 17 00:00:00 2001 From: xuqibin <935159042@qq.com> Date: Sat, 20 Jan 2024 13:15:15 +0800 Subject: [PATCH] =?UTF-8?q?TicketNo:#I8XNC9=20Description:=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E7=B1=BB=E5=9E=8B=E4=B8=8D=E5=8C=B9=E9=85=8D=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