From 2f845f3e5f9cc6e57fc192eed4f891e90dce8a29 Mon Sep 17 00:00:00 2001 From: Yunli Liu Date: Tue, 13 Feb 2024 22:45:09 +0800 Subject: [PATCH] fix arm64 compile error modify: services/local_code_sign/src/local_code_sign_service.cpp Change-Id: I744ff8357df0e68bd82e67e08b49216ac10d3e91 Signed-off-by: Yunli Liu --- 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