summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c')
-rw-r--r--EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c
index 02be71e789..3de404ba7c 100644
--- a/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c
+++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c
@@ -411,7 +411,7 @@ Returns:
ASSERT (FPCallbackInfo.Data.VideoBIOS <= 1);
- Status = gBS->AllocatePool (EfiBootServicesData, 2 * sizeof (IFR_OPTION), &IfrOptionList);
+ Status = gBS->AllocatePool (EfiBootServicesData, 2 * sizeof (IFR_OPTION), (VOID**) &IfrOptionList);
if (IfrOptionList != NULL) {
IfrOptionList[0].Flags = EFI_IFR_FLAG_INTERACTIVE;
IfrOptionList[0].Key = SET_VIDEO_BIOS_TYPE_QUESTION_ID + 0x2000;