summaryrefslogtreecommitdiffstats
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2018-05-14 21:12:34 +0800
committerLiming Gao <liming.gao@intel.com>2018-05-23 10:37:48 +0800
commitcb96e7d4f7afdbaef0706f9251ae479639d85a28 (patch)
tree4ada1f6e4e241f8854945aceeaf43b454991e262 /IntelFrameworkPkg
parentd2aafe1e410c80d1046f2d1e743055882ead8489 (diff)
downloadedk2-cb96e7d4f7afdbaef0706f9251ae479639d85a28.tar.gz
edk2-cb96e7d4f7afdbaef0706f9251ae479639d85a28.tar.bz2
edk2-cb96e7d4f7afdbaef0706f9251ae479639d85a28.zip
IntelFrameworkPkg UefiLib: Fix XCODE5 varargs warning
https://bugzilla.tianocore.org/show_bug.cgi?id=741 Change GetBestLanguage() 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 'IntelFrameworkPkg')
-rw-r--r--IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c
index 443a739172..1d71f471b8 100644
--- a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c
+++ b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c
@@ -1486,7 +1486,7 @@ CHAR8 *
EFIAPI
GetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
- IN BOOLEAN Iso639Language,
+ IN UINTN Iso639Language,
...
)
{