]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkUnixPkg/Dxe/PlatformBds/Generic/DeviceMngr/DeviceManager.c
fix some minor warning for unix package
[mirror_edk2.git] / EdkUnixPkg / Dxe / PlatformBds / Generic / DeviceMngr / DeviceManager.c
index 02be71e789ed847a31ce2e784a7cc9ffad4cebc6..3de404ba7c166e991cbfb9dc87cae565e9a0dffc 100644 (file)
@@ -411,7 +411,7 @@ Returns:
 \r
   ASSERT (FPCallbackInfo.Data.VideoBIOS <= 1);\r
 \r
-  Status = gBS->AllocatePool (EfiBootServicesData, 2 * sizeof (IFR_OPTION), &IfrOptionList);\r
+  Status = gBS->AllocatePool (EfiBootServicesData, 2 * sizeof (IFR_OPTION), (VOID**) &IfrOptionList);\r
   if (IfrOptionList != NULL) {\r
     IfrOptionList[0].Flags        = EFI_IFR_FLAG_INTERACTIVE;\r
     IfrOptionList[0].Key          = SET_VIDEO_BIOS_TYPE_QUESTION_ID + 0x2000;\r