summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c')
-rw-r--r--EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c b/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c
index 84c40f4314..fad36f8f0e 100644
--- a/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c
+++ b/EdkUnixPkg/RuntimeDxe/FvbServices/FWBlockService.c
@@ -1255,7 +1255,7 @@ Returns:
Status = gBS->AllocatePool (
EfiRuntimeServicesData,
sizeof (ESAL_FWB_GLOBAL),
- &mFvbModuleGlobal
+ (VOID**) &mFvbModuleGlobal
);
ASSERT_EFI_ERROR (Status);
@@ -1309,7 +1309,7 @@ Returns:
Status = gBS->AllocatePool (
EfiRuntimeServicesData,
BufferSize,
- &mFvbModuleGlobal->FvInstance[FVB_PHYSICAL]
+ (VOID**) &mFvbModuleGlobal->FvInstance[FVB_PHYSICAL]
);
ASSERT_EFI_ERROR (Status);
@@ -1395,7 +1395,7 @@ Returns:
Status = gBS->AllocatePool (
EfiRuntimeServicesData,
sizeof (EFI_FW_VOL_BLOCK_DEVICE),
- &FvbDevice
+ (VOID**) &FvbDevice
);
ASSERT_EFI_ERROR (Status);
@@ -1437,7 +1437,7 @@ Returns:
Status = gBS->HandleProtocol (
FwbHandle,
&gEfiFirmwareVolumeBlockProtocolGuid,
- &OldFwbInterface
+ (VOID**)&OldFwbInterface
);
ASSERT_EFI_ERROR (Status);
@@ -1484,7 +1484,7 @@ Returns:
Status = gBS->AllocatePool (
EfiRuntimeServicesData,
MaxLbaSize,
- &mFvbModuleGlobal->FvbScratchSpace[FVB_PHYSICAL]
+ (VOID**)&mFvbModuleGlobal->FvbScratchSpace[FVB_PHYSICAL]
);
ASSERT_EFI_ERROR (Status);