From 0b94e31981fde83116598dc7a2c8a346d46fd3cf Mon Sep 17 00:00:00 2001 From: klu2 Date: Tue, 14 Oct 2008 08:59:32 +0000 Subject: 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 --- Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Nt32Pkg/WinNtAutoScanPei') diff --git a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c index 0a262da5f2..2c2b3025b0 100644 --- a/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c +++ b/Nt32Pkg/WinNtAutoScanPei/WinNtAutoScan.c @@ -73,11 +73,11 @@ Returns: // Get the PEI NT Autoscan PPI // Status = (**PeiServices).LocatePpi ( - PeiServices, + (const EFI_PEI_SERVICES **)PeiServices, &gPeiNtAutoScanPpiGuid, // GUID 0, // INSTANCE &PpiDescriptor, // EFI_PEI_PPI_DESCRIPTOR - &PeiNtService // PPI + (VOID**)&PeiNtService // PPI ); ASSERT_EFI_ERROR (Status); @@ -85,11 +85,11 @@ Returns: // Get the Memory Test PPI // Status = (**PeiServices).LocatePpi ( - PeiServices, + (const EFI_PEI_SERVICES **)PeiServices, &gPeiBaseMemoryTestPpiGuid, 0, NULL, - &MemoryTestPpi + (VOID**)&MemoryTestPpi ); ASSERT_EFI_ERROR (Status); @@ -124,7 +124,7 @@ Returns: // // Register the "tested" memory with the PEI Core // - Status = (**PeiServices).InstallPeiMemory (PeiServices, MemoryBase, MemorySize); + Status = (**PeiServices).InstallPeiMemory ((const EFI_PEI_SERVICES **)PeiServices, MemoryBase, MemorySize); ASSERT_EFI_ERROR (Status); Attributes |= EFI_RESOURCE_ATTRIBUTE_TESTED; -- cgit v1.2.3