mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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
This commit is contained in:
parent
1b7edf0f5a
commit
5c54e90515
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user