]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/Dp_App/Dp.c
PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510
[mirror_edk2.git] / PerformancePkg / Dp_App / Dp.c
index 389f3681e9f933112c6925d61c3c435878b3e3f7..e2cb862364abd1a738f933c675d24a921918d6e1 100644 (file)
@@ -399,7 +399,7 @@ InitializeDp (
       //    StartCount = Value loaded into the counter when it starts counting\r
       //      EndCount = Value counter counts to before it needs to be reset\r
       //\r
       //    StartCount = Value loaded into the counter when it starts counting\r
       //      EndCount = Value counter counts to before it needs to be reset\r
       //\r
-      Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty);\r
+      Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);\r
       if (EFI_ERROR (Status)) {\r
         PrintToken (STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND));\r
         goto Done;\r
       if (EFI_ERROR (Status)) {\r
         PrintToken (STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND));\r
         goto Done;\r