]> git.proxmox.com Git - mirror_edk2.git/blobdiff - PerformancePkg/Dp_App/DpUtilities.c
Fixed build failed.
[mirror_edk2.git] / PerformancePkg / Dp_App / DpUtilities.c
index f44745fd1dd6042c89bcb03154c59cc551c80323..5e160708b852c30d1ce93729b935744e15b28b4b 100644 (file)
@@ -270,7 +270,7 @@ GetNameFromHandle (
     //\r
     // Get the current platform language setting\r
     //\r
-    GetEfiGlobalVariable2 (L"PlatformLang", &PlatformLanguage, NULL);\r
+    GetEfiGlobalVariable2 (L"PlatformLang", (VOID**)&PlatformLanguage, NULL);\r
     Status = ComponentName2->GetDriverName (\r
                                ComponentName2,\r
                                PlatformLanguage != NULL ? PlatformLanguage : "en-US",\r