summaryrefslogtreecommitdiff
path: root/EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c
diff options
context:
space:
mode:
Diffstat (limited to 'EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c')
-rw-r--r--EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c b/EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c
index a31e8a9570..6a3a34e2c9 100644
--- a/EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c
+++ b/EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c
@@ -264,7 +264,7 @@ Returns:
Status = gBS->LocateProtocol (
&gEfiFormBrowserProtocolGuid,
NULL,
- &gBrowser
+ (VOID**)&gBrowser
);
//
@@ -657,7 +657,7 @@ Returns:
Status = gBS->LocateProtocol (
&gEfiDataHubProtocolGuid,
NULL,
- &DataHub
+ (VOID**)&DataHub
);
ASSERT_EFI_ERROR (Status);
@@ -895,7 +895,7 @@ Returns:
// Note: The following lines of code only execute when Auto boot
// takes affect
//
- Status = gBS->LocateProtocol (&gEfiConsoleControlProtocolGuid, NULL, &ConsoleControl);
+ Status = gBS->LocateProtocol (&gEfiConsoleControlProtocolGuid, NULL, (VOID**)&ConsoleControl);
ConsoleControl->SetMode (ConsoleControl, EfiConsoleControlScreenText);
}