From: Star Zeng Date: Fri, 24 Feb 2017 02:04:19 +0000 (+0800) Subject: PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510 X-Git-Tag: edk2-stable201903~4562 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=e0850230500ea2a3d74ac0ab743d144f8969e801;hp=9802d6d50c3969111dce75210f4e83fb189dd740 PerformancePkg Dp_App: Fixed GCC build failure caused by 1393510 Cc: Michael Kinney Cc: Liming Gao Cc: Jaben Carsey Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng Reviewed-by: Liming Gao --- 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;