未验证 提交 b7f866df 编写于 作者: O openharmony_ci 提交者: Gitee

!1766 FIX:修改编译告警

Merge pull request !1766 from cheng_jinsong/0213_mu
......@@ -37,8 +37,8 @@ WatcherManager::~WatcherManager()
uint32_t WatcherManager::AddRemoteWatcher(uint32_t id, const sptr<IWatcher> &watcher)
{
if (id == getpid()) {
WATCHER_LOGE("Failed to add remote watcher %d", id);
if (id == (uint32_t)getpid()) {
WATCHER_LOGE("Failed to add remote watcher %u", id);
return 0;
}
WATCHER_CHECK(watcher != nullptr && deathRecipient_ != nullptr, return 0, "Invalid remove watcher");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册