From 24c28238e735b08ef8516783acca6144854f5ecf Mon Sep 17 00:00:00 2001 From: klu2 Date: Sun, 12 Oct 2008 17:30:21 +0000 Subject: Fix build issue for ICC compiler. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6105 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c | 4 ++-- Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c | 2 +- Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c | 2 +- .../Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c | 4 ++-- Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) (limited to 'Nt32Pkg/Library') diff --git a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c index 3f765cc312..3581be7d3b 100644 --- a/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c +++ b/Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c @@ -151,7 +151,7 @@ OemHookStatusCodeReport ( mStdOut, Buffer, CharCount, - &CharCount, + (LPDWORD)&CharCount, NULL ); @@ -245,7 +245,7 @@ OemHookStatusCodeReport ( mStdOut, Buffer, CharCount, - &CharCount, + (LPDWORD)&CharCount, NULL ); diff --git a/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c b/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c index 3c7148e66b..67a62fbcf2 100644 --- a/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c +++ b/Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c @@ -71,7 +71,7 @@ Returns: &gNtPeiLoadFilePpiGuid, 0, &PpiDescriptor, - &PeiNtService + (VOID**)&PeiNtService ); ASSERT_EFI_ERROR (Status); diff --git a/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c b/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c index f34eab2e78..e4e6225193 100644 --- a/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c +++ b/Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c @@ -63,7 +63,7 @@ GetPeCoffLoaderStucture ( &gEfiPeiPeCoffLoaderGuid, 0, NULL, - &mPeiEfiPeiPeCoffLoader + (VOID**)&mPeiEfiPeiPeCoffLoader ); // diff --git a/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c b/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c index d192cfb1df..0d597aaa85 100644 --- a/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c +++ b/Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c @@ -160,7 +160,7 @@ OemHookStatusCodeReport ( mStdOut, Buffer, CharCount, - &CharCount, + (LPDWORD)&CharCount, NULL ); @@ -254,7 +254,7 @@ OemHookStatusCodeReport ( mStdOut, Buffer, CharCount, - &CharCount, + (LPDWORD)&CharCount, NULL ); diff --git a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c index 6bfc630663..a1a2580a5b 100644 --- a/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c +++ b/Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c @@ -64,11 +64,11 @@ PeiNt32PeCoffLibConstructor ( // GuidHob is not ready, try to locate PeCoffLoader guid structure. // Status = (*PeiServices)->LocatePpi ( - PeiServices, + (const EFI_PEI_SERVICES **)PeiServices, &gEfiPeiPeCoffLoaderGuid, 0, NULL, - &mPeiEfiPeiPeCoffLoader + (VOID**)&mPeiEfiPeiPeCoffLoader ); // -- cgit v1.2.3