]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Event/event.c
Change the file name case to follow coding style: The first character should be capital.
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Event / event.c
index f5ffbb7d4df3d4eadad764c1bf5efd1caff0baeb..834ace59e792d0960fb515850ece434d2d999589 100644 (file)
@@ -358,7 +358,7 @@ CoreCreateEventEx (
   //\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
@@ -381,7 +381,7 @@ CoreCreateEventEx (
   // 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
@@ -404,7 +404,7 @@ CoreCreateEventEx (
 \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