mirror of https://github.com/acidanthera/audk.git
MdeModulePkg: Fix build failure in UefiBootManagerLib
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17444 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
db1b9ea0b4
commit
833a8349c1
|
@ -556,7 +556,7 @@ EfiBootManagerDeleteLoadOptionVariable (
|
|||
//
|
||||
// If the associated *Order exists, just remove the reference in *Order.
|
||||
//
|
||||
GetEfiGlobalVariable2 (mBmLoadOptionOrderName[OptionType], &OptionOrder, &OptionOrderSize);
|
||||
GetEfiGlobalVariable2 (mBmLoadOptionOrderName[OptionType], (VOID **) &OptionOrder, &OptionOrderSize);
|
||||
for (Index = 0; Index < OptionOrderSize / sizeof (UINT16); Index++) {
|
||||
if (OptionOrder[Index] == OptionNumber) {
|
||||
OptionOrderSize -= sizeof (UINT16);
|
||||
|
|
Loading…
Reference in New Issue