From b8039b58d65730b2ee3df9eb0de997c826545467 Mon Sep 17 00:00:00 2001 From: Yunli Liu Date: Tue, 13 Feb 2024 22:03:37 +0800 Subject: [PATCH] fix arm64 compile error modify:frameworks/core/src/common_event.cpp Change-Id: Id0b391fa59501f22e0d3ecb2f5387499aa4cde6b Signed-off-by: Yunli Liu --- frameworks/core/src/common_event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frameworks/core/src/common_event.cpp b/frameworks/core/src/common_event.cpp index bf46e1f8..62428bac 100644 --- a/frameworks/core/src/common_event.cpp +++ b/frameworks/core/src/common_event.cpp @@ -178,7 +178,7 @@ int32_t CommonEvent::UnSubscribeCommonEvent(const std::shared_ptr lock(eventListenersMutex_); auto eventListener = eventListeners_.find(subscriber); if (eventListener != eventListeners_.end()) { - EVENT_LOGD("before UnsubscribeCommonEvent proxy valid state is %{public}d, listeners size is %{public}d", + EVENT_LOGD("before UnsubscribeCommonEvent proxy valid state is %{public}d, listeners size is %{public}zu", isProxyValid_, eventListeners_.size()); if (commonEventProxy_->UnsubscribeCommonEvent(eventListener->second->AsObject()) == ERR_OK) { eventListener->second->Stop(); -- Gitee