]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ShellPkg/Library/UefiDpLib/Dp.c
ShellPkg UefiDpLib: Fixed GCC build failure caused by ef22403
[mirror_edk2.git] / 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