From bc7195805cf6d84346048d0b76904a9b34a855c8 Mon Sep 17 00:00:00 2001 From: xuerunlong Date: Wed, 27 Mar 2024 11:00:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E7=BC=96=E8=AF=91=E5=91=8A?= =?UTF-8?q?=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xuerunlong --- interfaces/kits/js/src/mod_fs/properties/copy_file.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/kits/js/src/mod_fs/properties/copy_file.cpp b/interfaces/kits/js/src/mod_fs/properties/copy_file.cpp index b930dc514..04ec8287e 100644 --- a/interfaces/kits/js/src/mod_fs/properties/copy_file.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/copy_file.cpp @@ -79,7 +79,7 @@ static NError SendFileCore(FileInfo& srcFdg, FileInfo& destFdg, struct stat& sta return NError(ret); } if (static_cast(ret) > size) { - HILOGE("More bytes returned than the size of the file. The file size is %{public}d" \ + HILOGE("More bytes returned than the size of the file. The file size is %{public}zu" \ "The bytes returned is %{public}d", size, ret); return NError(EIO); } -- Gitee