summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-18 09:52:43 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2008-11-18 09:52:43 +0000
commitec5ed91eefb9ca24d7876039853f1df5fa18b679 (patch)
treea90931bb10946d5b0bcfcab961478985338b973c
parent16bd006b2394e1bca7eeb8e5b73ba499af17335d (diff)
downloadedk2-ec5ed91eefb9ca24d7876039853f1df5fa18b679.zip
edk2-ec5ed91eefb9ca24d7876039853f1df5fa18b679.tar.gz
edk2-ec5ed91eefb9ca24d7876039853f1df5fa18b679.tar.bz2
ICC cleanup: Add in (CONST EFI_PEI_SERVICES **)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6598 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Hob/Hob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Hob/Hob.c b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Hob/Hob.c
index 1e9627f..2cb220b 100644
--- a/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Hob/Hob.c
+++ b/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Hob/Hob.c
@@ -270,7 +270,7 @@ Returns:
//
// Check FV Signature
//
- PEI_ASSERT (PeiServices, ((EFI_FIRMWARE_VOLUME_HEADER*)((UINTN)BaseAddress))->Signature == EFI_FVH_SIGNATURE);
+ PEI_ASSERT ((CONST EFI_PEI_SERVICES **) PeiServices, ((EFI_FIRMWARE_VOLUME_HEADER*)((UINTN)BaseAddress))->Signature == EFI_FVH_SIGNATURE);
Status = (*PeiServices)->CreateHob (
PeiServices,