diff --git a/NetworkPkg/HttpBootDxe/HttpBootConfig.c b/NetworkPkg/HttpBootDxe/HttpBootConfig.c index db14da06d5..597192349d 100644 --- a/NetworkPkg/HttpBootDxe/HttpBootConfig.c +++ b/NetworkPkg/HttpBootDxe/HttpBootConfig.c @@ -143,7 +143,7 @@ HttpBootAddBootOption ( Status = GetVariable2 ( L"BootOrder", &gEfiGlobalVariableGuid, - &CurrentOrder, + (VOID **)&CurrentOrder, &Length ); if (EFI_ERROR (Status) && Status != EFI_NOT_FOUND) {