!226 清楚静态扫描告警。

Merge pull request !226 from chenyude/codecheck
This commit is contained in:
openharmony_ci
2022-12-05 14:14:09 +00:00
committed by Gitee
+1 -1
View File
@@ -708,7 +708,7 @@ int32_t ComparePcidWithRpcidString(char *pcidFile, char *rpcidFile, uint32_t typ
continue;
}
for (uint8_t k = 0; k < INT_BIT; k++) {
if (!(temp2 & (0x1 << k))) {
if (!(temp2 & (1U << k))) {
continue;
}
// 2, header of pcid & rpcid