告警修复

Signed-off-by: swg3156201044 <shiweigang2@huawei.com>
This commit is contained in:
swg3156201044 2024-11-13 11:10:03 +00:00
parent f7188e0bee
commit 4effd5a14d

View File

@ -1769,7 +1769,7 @@ ErrCode IInnerOsAccountManager::WaitForAnimationReady(int32_t pipeFd)
ACCOUNT_LOGE("Timeout waiting for message from child process.");
return ERR_OSACCOUNT_SERVICE_INNER_ANIMATION_TIMEOUT;
}
if (!(fds[0].revents & POLLIN)) {
if (!(static_cast<uint16_t>(fds[0].revents) & POLLIN)) {
ACCOUNT_LOGE("Unexpected event in poll: %{public}d", fds[0].revents);
return ERR_OSACCOUNT_SERVICE_INNER_ANIMATION_UNEXPECTED_EVENT;
}