From d75079a504f74de3ec293b732af6376291911dce Mon Sep 17 00:00:00 2001 From: fengyong Date: Thu, 26 Dec 2024 20:27:22 +0800 Subject: [PATCH] fix code x Signed-off-by: fengyong --- interfaces/inner_api/common/taginfo_parcelable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interfaces/inner_api/common/taginfo_parcelable.cpp b/interfaces/inner_api/common/taginfo_parcelable.cpp index 56131d5b..6bc1220c 100644 --- a/interfaces/inner_api/common/taginfo_parcelable.cpp +++ b/interfaces/inner_api/common/taginfo_parcelable.cpp @@ -64,7 +64,7 @@ TagInfoParcelable *TagInfoParcelable::Unmarshalling(Parcel &parcel) int32_t extraLen = 0; parcel.ReadInt32(extraLen); - if (extraLen >= MAX_TECH_LIST_NUM) { + if (extraLen >= static_cast(MAX_TECH_LIST_NUM)) { return nullptr; } std::vector tagTechExtrasData; -- Gitee