1 Star 0 Fork 11

luxuexian/communication_ipc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0005-feat-for-embedded-fix-ipc-compile-error.patch 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
s_c_c 提交于 2024-03-22 15:44 +08:00 . Fix ipc and dsoftbus compile errors for embedded
From 418c6f30c6e8daf69cef14c1afd6924eb9634e6d Mon Sep 17 00:00:00 2001
From: s_c_c <shichuchao@huawei.com>
Date: Fri, 22 Mar 2024 11:19:48 +0800
Subject: [PATCH] feat for embedded fix ipc compile error
---
ipc/native/src/mock/source/binder_invoker.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ipc/native/src/mock/source/binder_invoker.cpp b/ipc/native/src/mock/source/binder_invoker.cpp
index 946940c..75e4010 100644
--- a/ipc/native/src/mock/source/binder_invoker.cpp
+++ b/ipc/native/src/mock/source/binder_invoker.cpp
@@ -746,7 +746,7 @@ int BinderInvoker::WaitForCompletion(MessageParcel *reply, int32_t *acquireResul
case BR_ACQUIRE_RESULT: {
int32_t result = input_.ReadInt32();
if (acquireResult != nullptr) {
- *acquireResult = result ? ERR_NONE : ERR_INVALID_OPERATION;
+ *acquireResult = result ? (int32_t)ERR_NONE : (int32_t)ERR_INVALID_OPERATION;
continueLoop = false;
}
break;
--
2.20.1 (Apple Git-117)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rearcher/communication_ipc.git
git@gitee.com:rearcher/communication_ipc.git
rearcher
communication_ipc
communication_ipc
master

搜索帮助