}\r
\r
// Check error response from Callee.\r
- if (*RetVal & BIT31) {\r
+ if ((*RetVal & BIT31) != 0) {\r
// Bit 31 set means there is an error retured\r
// See [1], Section 13.5.5.1 MM_SP_MEMORY_ATTRIBUTES_GET_AARCH64 and\r
// Section 13.5.5.2 MM_SP_MEMORY_ATTRIBUTES_SET_AARCH64.\r