mirror of https://github.com/acidanthera/audk.git
Fix GCC build failure caused by R14307.
Signed-off-by: Signed-off-by: Isakov S.L. <isakov-sl@bk.ru> Reviewed-by: Star Zeng <star.zeng@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14308 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
0c9dc21320
commit
e9521b086a
|
@ -415,7 +415,7 @@ InitializeLangVariable (
|
|||
//
|
||||
// Find current Lang or PlatformLang from EFI Variable.
|
||||
//
|
||||
Status = GetEfiGlobalVariable2 (LangName, &Lang, NULL);
|
||||
Status = GetEfiGlobalVariable2 (LangName, (VOID **) &Lang, NULL);
|
||||
//
|
||||
// If Lang or PlatformLang variable is not found,
|
||||
// or it has been set to an unsupported value(not one of the supported language codes),
|
||||
|
|
Loading…
Reference in New Issue