diff options
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c index f9f20bdf6d..bde7b4486e 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c @@ -283,7 +283,7 @@ FtwNotificationEvent ( //
// Ensure FTW protocol is installed.
//
- Status = GetFtwProtocol (&FtwProtocol);
+ Status = GetFtwProtocol ((VOID**) &FtwProtocol);
if (EFI_ERROR (Status)) {
return ;
}
@@ -305,7 +305,8 @@ FtwNotificationEvent ( ASSERT_EFI_ERROR (Status);
//
- // Install the Variable Write Architectural protocol.
//
+ // Install the Variable Write Architectural protocol.
+ //
Status = gBS->InstallProtocolInterface (
&mHandle,
&gEfiVariableWriteArchProtocolGuid,
|