From 997e26f6152ecb0f43d4fe68bc9ef57095ac4841 Mon Sep 17 00:00:00 2001 From: klu2 Date: Mon, 8 Jan 2007 08:56:27 +0000 Subject: fix some minor warning git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2192 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'EdkUnixPkg/Dxe/PlatformBds/Generic/FrontPage.c') 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); } -- cgit v1.2.3