NET_LIST_FOR_EACH (Link, &mConfigData[DataType]) {\r
CommonEntry = BASE_CR (Link, IPSEC_COMMON_POLICY_ENTRY, List);\r
\r
- if (IsFound || mIsZeroSelector[DataType](Selector)) {\r
+ if (IsFound || (BOOLEAN)(mIsZeroSelector[DataType](Selector))) {\r
//\r
// If found the appointed entry, then duplicate the next one and return,\r
// or if the appointed entry is zero, then return the first one directly.\r