summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdeModulePkg/Include/Library/AuthVariableLib.h2
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Include/Library/AuthVariableLib.h b/MdeModulePkg/Include/Library/AuthVariableLib.h
index 66bc4246b5..0731b8d748 100644
--- a/MdeModulePkg/Include/Library/AuthVariableLib.h
+++ b/MdeModulePkg/Include/Library/AuthVariableLib.h
@@ -202,7 +202,7 @@ typedef struct {
//
// Caller needs to ConvertPointer() for the pointers.
//
- VOID **AddressPointer;
+ VOID ***AddressPointer;
UINTN AddressPointerCount;
} AUTH_VAR_LIB_CONTEXT_OUT;
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]);
}
}
}