summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-10 23:57:42 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2010-12-10 23:57:42 +0000
commit5c54e9051588888be960447dbaa1b1ae6a61131f (patch)
tree9aeef81815238b0d4d465a7729dbb4b4ba281301 /MdeModulePkg/Universal
parent1b7edf0f5a2e16c05c0d10af7e98297af35c8ac6 (diff)
downloadedk2-platforms-5c54e9051588888be960447dbaa1b1ae6a61131f.tar.xz
MdeModulePkg VariableRuntimeDxe: Fix build for GCC44 toolchain
Add typecast to remove warning with GCC 4.4. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11155 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/VariableDxe.c5
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,