summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkModulePkg/Bus
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-03 11:15:52 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-03 11:15:52 +0000
commit23042a556b73232ac4b620b0a66a53129c916539 (patch)
treecfb7ef5b67729e29b638aac62f771ee54473808d /IntelFrameworkModulePkg/Bus
parent8e6b0dcb504ded3dbdfd6d4128469a6e683e1c83 (diff)
downloadedk2-23042a556b73232ac4b620b0a66a53129c916539.tar.gz
edk2-23042a556b73232ac4b620b0a66a53129c916539.tar.bz2
edk2-23042a556b73232ac4b620b0a66a53129c916539.zip
Fix ICC build warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8026 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus')
-rw-r--r--IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c
index f12b566098..e30277301a 100644
--- a/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c
+++ b/IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c
@@ -85,7 +85,6 @@ LocalLoadFile2 (
) {
ImageSize = (UINT32) EfiRomHeader->InitializationSize * 512;
-
ImageBuffer = (UINT8 *) EfiRomHeader + EfiRomHeader->EfiImageHeaderOffset;
ImageLength = ImageSize - EfiRomHeader->EfiImageHeaderOffset;
@@ -106,7 +105,7 @@ LocalLoadFile2 (
//
// Compressed: Uncompress before copying
//
- Status = gBS->LocateProtocol (&gEfiDecompressProtocolGuid, NULL, &Decompress);
+ Status = gBS->LocateProtocol (&gEfiDecompressProtocolGuid, NULL, (VOID **) &Decompress);
if (EFI_ERROR (Status)) {
return EFI_DEVICE_ERROR;
}