From 6394182967f63d4a97a1c882861d9958657112bb Mon Sep 17 00:00:00 2001 From: qwang12 Date: Sat, 1 Nov 2008 02:50:51 +0000 Subject: Fix some build error under ICC tool-chain. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6357 6f19259b-4bc3-4df7-8a09-765794883524 --- Nt32Pkg/WinNtGopDxe/ComponentName.c | 2 +- Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c | 6 +++--- Nt32Pkg/WinNtGopDxe/WinNtGopInput.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'Nt32Pkg/WinNtGopDxe') diff --git a/Nt32Pkg/WinNtGopDxe/ComponentName.c b/Nt32Pkg/WinNtGopDxe/ComponentName.c index 9799d66b1b..6387fc9be4 100644 --- a/Nt32Pkg/WinNtGopDxe/ComponentName.c +++ b/Nt32Pkg/WinNtGopDxe/ComponentName.c @@ -362,7 +362,7 @@ WinNtGopComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ControllerHandle, &gEfiGraphicsOutputProtocolGuid, - &GraphicsOutput, + (VOID **) &GraphicsOutput, gWinNtGopDriverBinding.DriverBindingHandle, ControllerHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c b/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c index 4f37707f66..b100bde51f 100644 --- a/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c +++ b/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c @@ -132,7 +132,7 @@ WinNtGopDriverBindingSupported ( Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -185,7 +185,7 @@ WinNtGopDriverBindingStart ( Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -309,7 +309,7 @@ WinNtGopDriverBindingStop ( Status = gBS->OpenProtocol ( Handle, &gEfiGraphicsOutputProtocolGuid, - &GraphicsOutput, + (VOID **) &GraphicsOutput, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c b/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c index acf838b630..ff768cb998 100644 --- a/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c +++ b/Nt32Pkg/WinNtGopDxe/WinNtGopInput.c @@ -813,7 +813,7 @@ WinNtGopSimpleTextInExUnregisterKeyNotify ( Status = gBS->OpenProtocol ( NotificationHandle, &gSimpleTextInExNotifyGuid, - NULL, + (VOID **) NULL, NULL, NULL, EFI_OPEN_PROTOCOL_TEST_PROTOCOL -- cgit v1.2.3