]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciOptionRomSupport.c
Fix ICC build warning
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciOptionRomSupport.c
index f12b566098c6f49cc63b6f22cdd6816dafab3239..e30277301aba4270b8b4f6aea69473162ab4b18c 100644 (file)
@@ -85,7 +85,6 @@ LocalLoadFile2 (
        ) {\r
 \r
     ImageSize               = (UINT32) EfiRomHeader->InitializationSize * 512;\r
-    \r
     ImageBuffer             = (UINT8 *) EfiRomHeader + EfiRomHeader->EfiImageHeaderOffset;\r
     ImageLength             = ImageSize - EfiRomHeader->EfiImageHeaderOffset;\r
 \r
@@ -106,7 +105,7 @@ LocalLoadFile2 (
       //\r
       // Compressed: Uncompress before copying\r
       //\r
-      Status = gBS->LocateProtocol (&gEfiDecompressProtocolGuid, NULL, &Decompress);\r
+      Status = gBS->LocateProtocol (&gEfiDecompressProtocolGuid, NULL, (VOID **) &Decompress);\r
       if (EFI_ERROR (Status)) {\r
         return EFI_DEVICE_ERROR;\r
       }\r