diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-12 07:08:43 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-10-12 07:08:43 +0000 |
commit | a88c89156f078ba943e4699e38c45f58c25f2876 (patch) | |
tree | 138b94d5760f6bfbb27c0bfa5edcc44a8619b18d /MdePkg | |
parent | 6979fd9382223ac177126788624adb530711a4b1 (diff) | |
download | edk2-platforms-a88c89156f078ba943e4699e38c45f58c25f2876.tar.xz |
Fix ICC build error
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4108 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Library/PeiPalCallLib/PalCallLib.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MdePkg/Library/PeiPalCallLib/PalCallLib.c b/MdePkg/Library/PeiPalCallLib/PalCallLib.c index 6bd88367d9..eeb30d617d 100644 --- a/MdePkg/Library/PeiPalCallLib/PalCallLib.c +++ b/MdePkg/Library/PeiPalCallLib/PalCallLib.c @@ -61,8 +61,7 @@ PalCall ( {
UINT64 PalCallAddress;
PAL_CALL_RETURN ReturnVal;
-
- EFI_PEI_SERVICES **PeiServices;
+ CONST EFI_PEI_SERVICES **PeiServices;
EFI_STATUS Status;
EFI_SEC_PLATFORM_INFORMATION_PPI *SecPlatformPpi;
IPF_HANDOFF_STATUS IpfStatus;
@@ -71,7 +70,7 @@ PalCall ( //
// Get Pei Service Table Pointer
//
- PeiServices = GetPeiServicesTablePointer ();
+ PeiServices = (CONST EFI_PEI_SERVICES **) GetPeiServicesTablePointer ();
//
// Locate SEC Ppi
|