From e8d0055fe2fe1836b7e5e0a8cb9917669e600e8c Mon Sep 17 00:00:00 2001 From: zhoujing Date: Thu, 31 Jul 2025 15:54:54 +0800 Subject: [PATCH] support for arm64 Change-Id: I575fcf31366379408075dd45043c8fd9628c0302 Signed-off-by: zhoujing --- .../service/object/src/object_data_listener.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/services/distributeddataservice/service/object/src/object_data_listener.cpp b/services/distributeddataservice/service/object/src/object_data_listener.cpp index ad10e0391..141a58580 100644 --- a/services/distributeddataservice/service/object/src/object_data_listener.cpp +++ b/services/distributeddataservice/service/object/src/object_data_listener.cpp @@ -13,6 +13,7 @@ * limitations under the License. */ +#include #define LOG_TAG "ObjectDataListener" #include "object_data_listener.h" @@ -84,14 +85,14 @@ int32_t ObjectAssetsRecvListener::OnRecvProgress( const std::string &srcNetworkId, const sptr &assetObj, uint64_t totalBytes, uint64_t processBytes) { if (assetObj == nullptr || totalBytes == 0) { - ZLOGE("OnRecvProgress error! srcNetworkId:%{public}s, totalBytes: %{public}llu", + ZLOGE("OnRecvProgress error! srcNetworkId:%{public}s, totalBytes: %{public}" PRIu64, DistributedData::Anonymous::Change(srcNetworkId).c_str(), totalBytes); return OBJECT_INNER_ERROR; } auto objectKey = assetObj->dstBundleName_ + assetObj->sessionId_; - ZLOGI("srcNetworkId: %{public}s, objectKey:%{public}s, totalBytes: %{public}llu," - "processBytes: %{public}llu.", + ZLOGI("srcNetworkId: %{public}s, objectKey:%{public}s, totalBytes: %{public}" PRIu64 + ", processBytes: %{public}" PRIu64 ".", DistributedData::Anonymous::Change(srcNetworkId).c_str(), DistributedData::Anonymous::Change(objectKey).c_str(), totalBytes, processBytes); -- Gitee