]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c
Fixed build failed.
[mirror_edk2.git] / IntelFrameworkModulePkg / Universal / BdsDxe / FrontPage.c
index 30e43e81c73ae9dcd5429acdc2fed36b743db432..7856edcb323dfb30d1f784b01e007ce6fe42e3dc 100644 (file)
@@ -232,7 +232,7 @@ FrontPageCallback (
         Index++;\r
       }\r
 \r
-      GetEfiGlobalVariable2 (L"PlatformLangCodes", &PlatformSupportedLanguages, NULL);\r
+      GetEfiGlobalVariable2 (L"PlatformLangCodes", (VOID**)&PlatformSupportedLanguages, NULL);\r
       if (PlatformSupportedLanguages == NULL) {\r
         PlatformSupportedLanguages = AllocateCopyPool (\r
                                        AsciiStrSize ((CHAR8 *) PcdGetPtr (PcdUefiVariableDefaultPlatformLangCodes)),\r
@@ -430,7 +430,7 @@ InitializeFrontPage (
   Lang = AllocatePool (AsciiStrSize (LanguageString));\r
   ASSERT (Lang != NULL);\r
 \r
-  GetEfiGlobalVariable2 (L"PlatformLang", &CurrentLang, NULL);\r
+  GetEfiGlobalVariable2 (L"PlatformLang", (VOID**)&CurrentLang, NULL);\r
   //\r
   // Select the best language in LanguageString as the default one.\r
   //\r