]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkModulePkg/Bus/Pci/Ehci/Dxe/EhciMem.c
Check in patch to refine DevicePath Module and USB2HostController Module.
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / Ehci / Dxe / EhciMem.c
index 2f35f7784839c6f6bdcec76980823edbe36d60f9..0a992fe8ad7142db70983a31b25992c0e5a0ceda 100644 (file)
@@ -261,7 +261,7 @@ Returns:
 \r
     Status = AllocMemInMemoryBlock (\r
               TempHeaderPtr,\r
-              Pool,\r
+              (VOID **) Pool,\r
               RealAllocSize / 32\r
               );\r
     if (!EFI_ERROR (Status)) {\r
@@ -302,7 +302,7 @@ Returns:
 \r
   Status = AllocMemInMemoryBlock (\r
              NewMemoryHeader,\r
-             Pool,\r
+             (VOID **) Pool,\r
              RealAllocSize / 32\r
              );\r
   if (!EFI_ERROR (Status)) {\r