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:
lzeng14 2013-04-23 01:42:35 +00:00
parent 0c9dc21320
commit e9521b086a
1 changed files with 1 additions and 1 deletions

View File

@ -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),