chore: modify default constant to unsigned int.

Signed-off-by: yudechen <chenyude@huawei.com>
Change-Id: I90cfb18a7fc50f481b3388a764758ec374a62290
This commit is contained in:
yudechen
2022-12-05 21:37:14 +08:00
parent 6873c2e33b
commit cd94961fd7
+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