summaryrefslogtreecommitdiff
path: root/Nt32Pkg
diff options
context:
space:
mode:
authorklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-12 17:30:21 +0000
committerklu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-12 17:30:21 +0000
commit24c28238e735b08ef8516783acca6144854f5ecf (patch)
treea86ece737e8ef8617cbded2e04bf5516fbc6a15f /Nt32Pkg
parent5ead4a07a8bd2dc1604988a20d72c86963d66c51 (diff)
downloadedk2-platforms-24c28238e735b08ef8516783acca6144854f5ecf.tar.xz
Fix build issue for ICC compiler.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6105 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Nt32Pkg')
-rw-r--r--Nt32Pkg/Library/DxeNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c4
-rw-r--r--Nt32Pkg/Library/Nt32PeiPeCoffGetEntryPointLib/PeCoffGetEntryPoint.c2
-rw-r--r--Nt32Pkg/Library/PeiCoreNt32PeCoffLib/PeiCoreNt32PeCoffLib.c2
-rw-r--r--Nt32Pkg/Library/PeiNt32OemHookStatusCodeLib/Nt32OemHookStatusCodeLib.c4
-rw-r--r--Nt32Pkg/Library/PeiNt32PeCoffLib/PeiNt32PeCoffLib.c4
5 files changed, 8 insertions, 8 deletions
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
);
//