@retval Other Performance protocol is not located to log performance. \r
\r
**/\r
+STATIC\r
EFI_STATUS\r
GetPerformanceProtocol (\r
VOID\r
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