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/WinNtSerialIoDxe/ComponentName.c | 2 +- Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'Nt32Pkg/WinNtSerialIoDxe') diff --git a/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c b/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c index 507268c8ef..dcd7e3c160 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c +++ b/Nt32Pkg/WinNtSerialIoDxe/ComponentName.c @@ -345,7 +345,7 @@ WinNtSerialIoComponentNameGetControllerName ( Status = gBS->OpenProtocol ( ChildHandle, &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, gWinNtSerialIoDriverBinding.DriverBindingHandle, ChildHandle, EFI_OPEN_PROTOCOL_GET_PROTOCOL diff --git a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c index 1419c5a653..e12f14dc29 100644 --- a/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c +++ b/Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c @@ -132,7 +132,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiDevicePathProtocolGuid, - &ParentDevicePath, + (VOID **) &ParentDevicePath, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -155,7 +155,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -271,7 +271,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiDevicePathProtocolGuid, - &ParentDevicePath, + (VOID **) &ParentDevicePath, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -286,7 +286,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_BY_DRIVER @@ -327,7 +327,7 @@ Returns: Status = gBS->OpenProtocol ( OpenInfoBuffer[Index].ControllerHandle, &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL @@ -494,7 +494,7 @@ Returns: Status = gBS->OpenProtocol ( Handle, &gEfiWinNtIoProtocolGuid, - &WinNtIo, + (VOID **) &WinNtIo, This->DriverBindingHandle, Private->Handle, EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER @@ -597,7 +597,7 @@ Returns: Status = gBS->OpenProtocol ( ChildHandleBuffer[Index], &gEfiSerialIoProtocolGuid, - &SerialIo, + (VOID **) &SerialIo, This->DriverBindingHandle, Handle, EFI_OPEN_PROTOCOL_GET_PROTOCOL -- cgit v1.2.3