summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/UefiBootManagerLib
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2015-05-14 02:09:59 +0000
committerniruiyu <niruiyu@Edk2>2015-05-14 02:09:59 +0000
commit833a8349c15326ad4226c96fc2aa0357f10e8824 (patch)
tree2201d3e4a1c99426cd716631d0ccae48eb61ace2 /MdeModulePkg/Library/UefiBootManagerLib
parentdb1b9ea0b4e9bb13a0f8232f1e3047aad5b878b7 (diff)
downloadedk2-platforms-833a8349c15326ad4226c96fc2aa0357f10e8824.tar.xz
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
Diffstat (limited to 'MdeModulePkg/Library/UefiBootManagerLib')
-rw-r--r--MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c b/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c
index 630307ed03..2a42a7d354 100644
--- a/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c
+++ b/MdeModulePkg/Library/UefiBootManagerLib/BmLoadOption.c
@@ -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);