diff options
author | Liming Gao <liming.gao@intel.com> | 2018-05-14 21:12:33 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-05-23 10:37:47 +0800 |
commit | d2aafe1e410c80d1046f2d1e743055882ead8489 (patch) | |
tree | 938b15211264719967d99c6f4765eb1d716147c1 /MdePkg | |
parent | 8d65d3b25e35a2e968395d261b34416776b95d9e (diff) | |
download | edk2-d2aafe1e410c80d1046f2d1e743055882ead8489.tar.gz |
MdePkg 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 'MdePkg')
-rw-r--r-- | MdePkg/Include/Library/UefiLib.h | 2 | ||||
-rw-r--r-- | MdePkg/Library/UefiLib/UefiLib.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Include/Library/UefiLib.h b/MdePkg/Include/Library/UefiLib.h index 256498e3fd..bc2f712fdb 100644 --- a/MdePkg/Include/Library/UefiLib.h +++ b/MdePkg/Include/Library/UefiLib.h @@ -818,7 +818,7 @@ CHAR8 * EFIAPI
GetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
- IN BOOLEAN Iso639Language,
+ IN UINTN Iso639Language,
...
);
diff --git a/MdePkg/Library/UefiLib/UefiLib.c b/MdePkg/Library/UefiLib/UefiLib.c index ba449a1c34..23faa63226 100644 --- a/MdePkg/Library/UefiLib/UefiLib.c +++ b/MdePkg/Library/UefiLib/UefiLib.c @@ -1514,7 +1514,7 @@ CHAR8 * EFIAPI
GetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
- IN BOOLEAN Iso639Language,
+ IN UINTN Iso639Language,
...
)
{
|