diff options
author | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-31 08:35:48 +0000 |
---|---|---|
committer | ydong10 <ydong10@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-05-31 08:35:48 +0000 |
commit | f01b91ae42edcf979a52ba08b515d3b4525b55fa (patch) | |
tree | f9ee5bf93dfc19c2db2a67cff2c1355224053e50 /UnixPkg/MiscSubClassPlatformDxe | |
parent | d5b339a9e7d971b37cf6bb7e647c549dd0d2cf26 (diff) | |
download | edk2-f01b91ae42edcf979a52ba08b515d3b4525b55fa.tar.gz edk2-f01b91ae42edcf979a52ba08b515d3b4525b55fa.tar.bz2 edk2-f01b91ae42edcf979a52ba08b515d3b4525b55fa.zip |
Fixed build failed.
Signed-off-by: Eric Dong <eric.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13406 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UnixPkg/MiscSubClassPlatformDxe')
-rw-r--r-- | UnixPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLanguagesFunction.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UnixPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLanguagesFunction.c b/UnixPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLanguagesFunction.c index 600f2ee9ae..6eff73e450 100644 --- a/UnixPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLanguagesFunction.c +++ b/UnixPkg/MiscSubClassPlatformDxe/MiscNumberOfInstallableLanguagesFunction.c @@ -45,7 +45,7 @@ CurrentLanguageMatch ( return;
}
- GetEfiGlobalVariable2 (L"PlatformLang", &CurrentLang, NULL);
+ GetEfiGlobalVariable2 (L"PlatformLang", (VOID**)&CurrentLang, NULL);
DefaultLang = (CHAR8 *) PcdGetPtr (PcdUefiVariableDefaultPlatformLang);
BestLanguage = GetBestLanguage (
Languages,
|