summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtSerialIoDxe
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-01 02:50:51 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-01 02:50:51 +0000
commit6394182967f63d4a97a1c882861d9958657112bb (patch)
tree7a31f992b16b90deb1ea0924f8645b75a919207e /Nt32Pkg/WinNtSerialIoDxe
parent86026b9dffba1deaf1f26e9b0bd8598ee2f5dbea (diff)
downloadedk2-platforms-6394182967f63d4a97a1c882861d9958657112bb.tar.xz
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
Diffstat (limited to 'Nt32Pkg/WinNtSerialIoDxe')
-rw-r--r--Nt32Pkg/WinNtSerialIoDxe/ComponentName.c2
-rw-r--r--Nt32Pkg/WinNtSerialIoDxe/WinNtSerialIo.c14
2 files changed, 8 insertions, 8 deletions
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