summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/Variable
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2015-07-26 08:03:50 +0000
committerjljusten <jljusten@Edk2>2015-07-26 08:03:50 +0000
commite43525ee3c3355a4a706b7197b0d2f5f56ef3fba (patch)
tree3965be11e0e5a5ee9e30e965060f178d2dbdd534 /MdeModulePkg/Universal/Variable
parentb2f35637da091be37748203a5817a1c732c69e12 (diff)
downloadedk2-platforms-e43525ee3c3355a4a706b7197b0d2f5f56ef3fba.tar.xz
MdeModulePkg VariableDxe: Correct address pointers from AuthVariableLib
Originally, the double pointer (VOID **) is not correct for convert address pointers from AuthVariableLib. Cc: Jiewen Yao <jiewen.yao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <Jiewen.Yao@intel.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18054 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Variable')
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
index a95846a934..314ffddef1 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c
@@ -259,7 +259,7 @@ VariableClassAddressChangeEvent (
if (mContextOut.AddressPointer != NULL) {
for (Index = 0; Index < mContextOut.AddressPointerCount; Index++) {
- EfiConvertPointer (0x0, (VOID **) &mContextOut.AddressPointer[Index]);
+ EfiConvertPointer (0x0, (VOID **) mContextOut.AddressPointer[Index]);
}
}
}