]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403
authorStar Zeng <star.zeng@intel.com>
Fri, 24 Feb 2017 02:06:01 +0000 (10:06 +0800)
committerStar Zeng <star.zeng@intel.com>
Fri, 24 Feb 2017 08:33:28 +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>
Cc: Ruiyu Ni <ruiyu.ni@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>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
ShellPkg/Library/UefiDpLib/Dp.c

index 444c136ab1889ab9a0454ab29f3f171c5458dc63..33f69a0c145a0df6132675db3b05b848feff0528 100644 (file)
@@ -271,7 +271,7 @@ ShellCommandRunDp (
   //    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
     ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_PERF_PROPERTY_NOT_FOUND), gDpHiiHandle);\r
     goto Done;\r