]> git.proxmox.com Git - mirror_edk2.git/blobdiff - NetworkPkg/HttpBootDxe/HttpBootConfig.c
NetworkPkg: HttpBootDxe: fix gcc build failure.
[mirror_edk2.git] / NetworkPkg / HttpBootDxe / HttpBootConfig.c
index db14da06d5cb0da687f05cb11a068978c8170f3e..597192349d6b0c28b89baaaac29727c5c527bc9a 100644 (file)
@@ -143,7 +143,7 @@ HttpBootAddBootOption (
   Status = GetVariable2 (\r
              L"BootOrder",\r
              &gEfiGlobalVariableGuid,\r
-             &CurrentOrder,\r
+             (VOID **)&CurrentOrder,\r
              &Length \r
              );\r
   if (EFI_ERROR (Status) && Status != EFI_NOT_FOUND) {\r