mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +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.
|
// Ensure FTW protocol is installed.
|
||||||
//
|
//
|
||||||
Status = GetFtwProtocol (&FtwProtocol);
|
Status = GetFtwProtocol ((VOID**) &FtwProtocol);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
@ -305,7 +305,8 @@ FtwNotificationEvent (
|
|||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Install the Variable Write Architectural protocol.
//
|
// Install the Variable Write Architectural protocol.
|
||||||
|
//
|
||||||
Status = gBS->InstallProtocolInterface (
|
Status = gBS->InstallProtocolInterface (
|
||||||
&mHandle,
|
&mHandle,
|
||||||
&gEfiVariableWriteArchProtocolGuid,
|
&gEfiVariableWriteArchProtocolGuid,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user