]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BasePerformanceLibNull/PerformanceLib.c
Make MDE package pass intel IPF compiler with /W4 /WX switched on.
[mirror_edk2.git] / MdePkg / Library / BasePerformanceLibNull / PerformanceLib.c
index 406acb5ca07522c43a587ebc12313a3e03a30707..b08617c3cc1944d2a11e5e9a5fca3822c2c1389d 100644 (file)
@@ -156,5 +156,5 @@ PerformanceMeasurementEnabled (
   VOID\r
   )\r
 {\r
-  return ((PcdGet8(PcdPerformanceLibraryPropertyMask) & PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED) != 0);\r
+  return (BOOLEAN) ((PcdGet8(PcdPerformanceLibraryPropertyMask) & PERFORMANCE_LIBRARY_PROPERTY_MEASUREMENT_ENABLED) != 0);\r
 }\r