Fix compile error
authorczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 12 Sep 2012 01:23:04 +0000 (01:23 +0000)
committerczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 12 Sep 2012 01:23:04 +0000 (01:23 +0000)
Signed-off-by : Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by   : Eric Dong  <Eric.Dong@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13717 6f19259b-4bc3-4df7-8a09-765794883524

SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c

index 9b13806..f3e486e 100644 (file)
@@ -864,7 +864,7 @@ DxeTpmMeasureBootHandler (
         Status = gBS->HandleProtocol(\r
                         TempHandle, \r
                         &gEfiFirmwareVolumeBlockProtocolGuid,\r
         Status = gBS->HandleProtocol(\r
                         TempHandle, \r
                         &gEfiFirmwareVolumeBlockProtocolGuid,\r
-                        &FvbProtocol\r
+                        (VOID**)&FvbProtocol\r
                         );\r
         TempHandle = FvbProtocol->ParentHandle;\r
       } while (!EFI_ERROR(Status) && FvbProtocol->ParentHandle != NULL);\r
                         );\r
         TempHandle = FvbProtocol->ParentHandle;\r
       } while (!EFI_ERROR(Status) && FvbProtocol->ParentHandle != NULL);\r