]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/PeiLib.c
1) Cleanup for GCC and ICC tool-chain.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Pei / PeiLib / PeiLib.c
index 269eb8a13dc75b9c618313df2993ee66a2abfa99..86fbbb1ecdc8a4d54e6810599736eb772bf681da 100644 (file)
@@ -1,6 +1,6 @@
 /*++\r
 \r
-Copyright (c) 2004 - 2007, Intel Corporation                                                         \r
+Copyright (c) 2004 - 2008, Intel Corporation                                                         \r
 All rights reserved. This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
@@ -234,9 +234,9 @@ Returns:
   ASSERT_PEI_ERROR (PeiServices, Status);\r
 \r
   Status = PciCfg2->Modify (\r
-                      PeiServices,\r
+                      (CONST EFI_PEI_SERVICES **) PeiServices,\r
                       PciCfg2,\r
-                      Width,\r
+                      (EFI_PEI_PCI_CFG_PPI_WIDTH) Width,\r
                       Address,\r
                       &SetBits,\r
                       &ClearBits\r