diff options
author | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-10 23:57:42 +0000 |
---|---|---|
committer | jljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-12-10 23:57:42 +0000 |
commit | 5c54e9051588888be960447dbaa1b1ae6a61131f (patch) | |
tree | 9aeef81815238b0d4d465a7729dbb4b4ba281301 /MdeModulePkg/Universal | |
parent | 1b7edf0f5a2e16c05c0d10af7e98297af35c8ac6 (diff) | |
download | edk2-5c54e9051588888be960447dbaa1b1ae6a61131f.tar.gz edk2-5c54e9051588888be960447dbaa1b1ae6a61131f.tar.bz2 edk2-5c54e9051588888be960447dbaa1b1ae6a61131f.zip |
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.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,
|