summaryrefslogtreecommitdiffstats
path: root/PerformancePkg
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2017-02-24 10:04:19 +0800
committerStar Zeng <star.zeng@intel.com>2017-02-24 16:33:27 +0800
commite0850230500ea2a3d74ac0ab743d144f8969e801 (patch)
tree04ba8c36665de56fc50d27c19e4e58e43ccdaf7b /PerformancePkg
parent9802d6d50c3969111dce75210f4e83fb189dd740 (diff)
downloadedk2-e0850230500ea2a3d74ac0ab743d144f8969e801.tar.gz
edk2-e0850230500ea2a3d74ac0ab743d144f8969e801.tar.bz2
edk2-e0850230500ea2a3d74ac0ab743d144f8969e801.zip
PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510
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>
Diffstat (limited to 'PerformancePkg')
-rw-r--r--PerformancePkg/Dp_App/Dp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/PerformancePkg/Dp_App/Dp.c b/PerformancePkg/Dp_App/Dp.c
index 389f3681e9..e2cb862364 100644
--- a/PerformancePkg/Dp_App/Dp.c
+++ b/PerformancePkg/Dp_App/Dp.c
@@ -399,7 +399,7 @@ InitializeDp (
// StartCount = Value loaded into the counter when it starts counting
// EndCount = Value counter counts to before it needs to be reset
//
- Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, &PerformanceProperty);
+ Status = EfiGetSystemConfigurationTable (&gPerformanceProtocolGuid, (VOID **) &PerformanceProperty);
if (EFI_ERROR (Status)) {
PrintToken (STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND));
goto Done;