mirror of
https://github.com/openharmony/developtools_syscap_codec.git
synced 2026-08-27 10:21:25 -04:00
fix: mix using signed and unsigned.
Signed-off-by: yudechen <chenyude@huawei.com> Change-Id: I721399ad5bf41249fe12dbd5ea91b8a0eea95d6a
This commit is contained in:
+1
-1
@@ -673,7 +673,7 @@ int32_t ComparePcidWithRpcidString(char *pcidFile, char *rpcidFile, uint32_t typ
|
||||
pcidContent = pcidFile;
|
||||
rpcidContent = rpcidFile;
|
||||
} else {
|
||||
PRINT_ERR("Input file type error, type=%d\n", type);
|
||||
PRINT_ERR("Input file type error, type=%u\n", type);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
@@ -134,8 +134,8 @@ HWTEST_F(SyscapCodecTest, ComparePcidString, TestSize.Level1)
|
||||
const char rpcidString[] = "33588992,1766370052,65536,276824064,0,0,0,0,0,0,"\
|
||||
"0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"\
|
||||
"SystemCapability.vendor.xxxxx1,SystemCapability.device.xxxxx2";
|
||||
const char expect[][256] = {"SystemCapability.HiviewDFX.HiChecker",
|
||||
"SystemCapability.HiviewDFX.HiProfiler.HiDebug",
|
||||
const char expect[][256] = {"SystemCapability.Graphic.Wms",
|
||||
"SystemCapability.HiviewDFX.HiLog",
|
||||
"SystemCapability.vendor.xxxxx1",
|
||||
"SystemCapability.device.xxxxx2"};
|
||||
int32_t ret = ComparePcidString(pcidString, rpcidString, &result);
|
||||
|
||||
Reference in New Issue
Block a user