Update for ICC build.
authorxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 24 Aug 2007 02:47:35 +0000 (02:47 +0000)
committerxli24 <xli24@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 24 Aug 2007 02:47:35 +0000 (02:47 +0000)
git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@3701 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c

index d3d50ec..3de4edf 100644 (file)
@@ -823,7 +823,7 @@ Returns:
   \r
   while ((HobFv2.Raw = GetNextHob (EFI_HOB_TYPE_FV2, HobFv2.Raw)) != NULL) {\r
     if (CompareGuid (DriverName, &HobFv2.FirmwareVolume2->FileName)) {\r
-      Status = CoreHandleProtocol (FvHandle, &gEfiFirmwareVolumeBlockProtocolGuid, &Fvb);\r
+      Status = CoreHandleProtocol (FvHandle, &gEfiFirmwareVolumeBlockProtocolGuid, (VOID **) &Fvb);\r
       if (!EFI_ERROR (Status)) {\r
         Status = Fvb->GetPhysicalAddress (Fvb, &FvHeaderAddr);\r
         if (!EFI_ERROR (Status)) {\r