summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtThunkPPIToProtocolPei
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-14 08:59:32 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-14 08:59:32 +0000
commit0b94e31981fde83116598dc7a2c8a346d46fd3cf (patch)
treeb5fe86e1cc9555b1a45434403fa36d7d2331187e /Nt32Pkg/WinNtThunkPPIToProtocolPei
parent5f300691d0ef724c1580924da6ba6750794d918e (diff)
downloadedk2-platforms-0b94e31981fde83116598dc7a2c8a346d46fd3cf.tar.xz
Fix ICC building issue for Nt32 platform.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6110 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg/WinNtThunkPPIToProtocolPei')
-rw-r--r--Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c b/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c
index f9ef724bea..4b044b6661 100644
--- a/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c
+++ b/Nt32Pkg/WinNtThunkPPIToProtocolPei/WinNtThunkPPIToProtocol.c
@@ -69,11 +69,11 @@ Returns:
DEBUG ((EFI_D_ERROR, "NT 32 WinNT Stuff PEIM Loaded\n"));
Status = (**PeiServices).LocatePpi (
- PeiServices,
+ (const EFI_PEI_SERVICES **)PeiServices,
&gPeiNtThunkPpiGuid, // GUID
0, // INSTANCE
&PpiDescriptor, // EFI_PEI_PPI_DESCRIPTOR
- &PeiNtService // PPI
+ (VOID**)&PeiNtService // PPI
);
ASSERT_EFI_ERROR (Status);