//\r
// If it's a notify type of event, check its parameters\r
//\r
- if ((Type & (EVT_NOTIFY_WAIT | EVT_NOTIFY_SIGNAL))) {\r
+ if ((Type & (EVT_NOTIFY_WAIT | EVT_NOTIFY_SIGNAL)) != 0) {\r
//\r
// Check for an invalid NotifyFunction or NotifyTpl\r
//\r
// Allcoate and initialize a new event structure.\r
//\r
Status = CoreAllocatePool (\r
- (Type & EVT_RUNTIME) ? EfiRuntimeServicesData: EfiBootServicesData,\r
+ ((Type & EVT_RUNTIME) != 0) ? EfiRuntimeServicesData: EfiBootServicesData,\r
sizeof (IEVENT),\r
(VOID **)&IEvent\r
);\r
\r
*Event = IEvent;\r
\r
- if (Type & EVT_RUNTIME) {\r
+ if ((Type & EVT_RUNTIME) != 0) {\r
//\r
// Keep a list of all RT events so we can tell the RT AP.\r
//\r