From d589c7257c81707fa3eebbf5012bde40a44b6b71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=87=E6=99=96?= Date: Tue, 3 Jun 2025 07:59:42 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=91=8A=E8=AD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王宇晖 --- services/implementation/src/device_manager_service_impl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/implementation/src/device_manager_service_impl.cpp b/services/implementation/src/device_manager_service_impl.cpp index 03637f17f..0b8b831ac 100644 --- a/services/implementation/src/device_manager_service_impl.cpp +++ b/services/implementation/src/device_manager_service_impl.cpp @@ -2763,7 +2763,7 @@ void DeviceManagerServiceImpl::GetBindCallerInfo(DmBindCallerInfo &bindCallerInf } std::string hostPkgLabel = GetBundleLable(pkgName); bindCallerInfo.userId = userId; - bindCallerInfo.tokenId = callingTokenId; + bindCallerInfo.tokenId = static_cast(callingTokenId); bindCallerInfo.bindLevel = bindLevel; bindCallerInfo.bundleName = bundleName; bindCallerInfo.hostPkgLabel = hostPkgLabel; -- Gitee From 7878d0bb5e3f6712dbb7a0f37abaa270468bc636 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=87=E6=99=96?= Date: Tue, 3 Jun 2025 08:04:50 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E5=91=8A=E8=AD=A6=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 王宇晖 --- .../service/src/relationshipsyncmgr/relationship_sync_mgr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/service/src/relationshipsyncmgr/relationship_sync_mgr.cpp b/services/service/src/relationshipsyncmgr/relationship_sync_mgr.cpp index 02ca19f83..8d9923d2d 100644 --- a/services/service/src/relationshipsyncmgr/relationship_sync_mgr.cpp +++ b/services/service/src/relationshipsyncmgr/relationship_sync_mgr.cpp @@ -105,7 +105,7 @@ namespace { RelationShipChangeMsg::RelationShipChangeMsg() : type(RelationShipChangeType::TYPE_MAX), userId(UINT32_MAX), accountId(""), tokenId(UINT64_MAX), peerUdids({}), peerUdid(""), accountName(""), - syncUserIdFlag(false), userIdInfos({}), isNewEvent(false) + syncUserIdFlag(false), userIdInfos({}), isNewEvent(false), broadCastId(UINT8_MAX) { } -- Gitee