]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/Mem/Pool.c
MdeModulePkg/DxeCore: Fixed compiler error 'enumerated type mixed with another type'
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / Mem / Pool.c
index 1891bb73876aa94029e8455c1c1c7c57b89d3675..6bf289b38fc0a2aa38263489d2e4a4386c516cd4 100644 (file)
@@ -433,13 +433,13 @@ CoreFreePool (
   )\r
 {\r
   EFI_STATUS  Status;\r
-\r
-  Status = CoreInternalFreePool (Buffer);\r
-  if (!EFI_ERROR (Status)) {\r
-    CoreUpdateProfile ((EFI_PHYSICAL_ADDRESS) (UINTN) RETURN_ADDRESS (0), MemoryProfileActionFreePool, 0, 0, Buffer);\r
-  }\r
-  return Status;\r
-}\r
+
+  Status = CoreInternalFreePool (Buffer);
+  if (!EFI_ERROR (Status)) {
+    CoreUpdateProfile ((EFI_PHYSICAL_ADDRESS) (UINTN) RETURN_ADDRESS (0), MemoryProfileActionFreePool, (EFI_MEMORY_TYPE) 0, 0, Buffer);
+  }
+  return Status;
+}
 \r
 /**\r
   Internal function to free a pool entry.\r