]> git.proxmox.com Git - mirror_edk2.git/commitdiff
PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510
authorStar Zeng <star.zeng@intel.com>
Fri, 24 Feb 2017 02:04:19 +0000 (10:04 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 24 Feb 2017 08:33:27 +0000 (16:33 +0800)
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
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
-      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