summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-05-14 21:12:35 +0800
committerLiming Gao <liming.gao@intel.com>2018-05-23 10:37:49 +0800
commit180ac200da84785989443b06bcfa5db343c0bf7e (patch)
treed423c645e15f69d8d7caa96f4fe06f8f7c6f0086 /MdeModulePkg/Universal
parentcb96e7d4f7afdbaef0706f9251ae479639d85a28 (diff)
downloadedk2-180ac200da84785989443b06bcfa5db343c0bf7e.zip
edk2-180ac200da84785989443b06bcfa5db343c0bf7e.tar.gz
edk2-180ac200da84785989443b06bcfa5db343c0bf7e.tar.bz2
MdeModulePkg Variable: Fix XCODE5 varargs warning
https://bugzilla.tianocore.org/show_bug.cgi?id=741 Change VariableGetBestLanguage() parameter type from BOOLEAN to UINTN Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Steven Shi <steven.shi@intel.com> Cc: Liming Gao <liming.gao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c2
-rw-r--r--MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c
index 6dee2b6..8ad2c71 100644
--- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c
+++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c
@@ -575,7 +575,7 @@ CHAR8 *
EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
- IN BOOLEAN Iso639Language,
+ IN UINTN Iso639Language,
...
)
{
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
index d17361f..5eff808 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -1562,7 +1562,7 @@ CHAR8 *
EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
- IN BOOLEAN Iso639Language,
+ IN UINTN Iso639Language,
...
)
{