Fix compile error
[mirror_edk2.git] / SecurityPkg / Library / DxeTpmMeasureBootLib / DxeTpmMeasureBootLib.c
index 9b13806..f3e486e 100644 (file)
@@ -864,7 +864,7 @@ DxeTpmMeasureBootHandler (
         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