summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtGopDxe
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/WinNtGopDxe
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/WinNtGopDxe')
-rw-r--r--Nt32Pkg/WinNtGopDxe/ComponentName.c2
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c6
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGopInput.c2
3 files changed, 5 insertions, 5 deletions
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