X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkUnixPkg%2FDxe%2FPlatformBds%2FGeneric%2FBootMaint%2FBootMaint.c;fp=EdkUnixPkg%2FDxe%2FPlatformBds%2FGeneric%2FBootMaint%2FBootMaint.c;h=9b84db59d0aa498b4e7bf5ac1c7f3d0e68253fc9;hp=7dfad5156941b7994f35beefc874f80824c855a2;hb=8ef571dfb56dc8720d217ab9aa6efa5f025641c9;hpb=6c31fdb8879f46684210cd5c01d9b3246edeb0ad diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BootMaint.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BootMaint.c index 7dfad51569..9b84db59d0 100644 --- a/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BootMaint.c +++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/BootMaint/BootMaint.c @@ -757,7 +757,7 @@ Returns: // // There should be only one EFI_HII_PROTOCOL Image // - Status = EfiLibLocateProtocol (&gEfiHiiProtocolGuid, &Hii); + Status = EfiLibLocateProtocol (&gEfiHiiProtocolGuid, (VOID**)&Hii); if (EFI_ERROR (Status)) { return Status; } @@ -893,7 +893,7 @@ Returns: } Location = (UINT8 *) &UpdateData->Data; - Status = EfiLibLocateProtocol (&gEfiLegacyBiosProtocolGuid, &LegacyBios); + Status = EfiLibLocateProtocol (&gEfiLegacyBiosProtocolGuid, (VOID**) &LegacyBios); if (!EFI_ERROR (Status)) { // // If LegacyBios Protocol is installed, add 3 tags about legacy boot option @@ -1240,7 +1240,7 @@ Returns: // // There should only be one Form Configuration protocol // - Status = EfiLibLocateProtocol (&gEfiFormBrowserProtocolGuid, &FormConfig); + Status = EfiLibLocateProtocol (&gEfiFormBrowserProtocolGuid, (VOID**) &FormConfig); if (EFI_ERROR (Status)) { return Status; }