* [Patch 1/3] MdePkg UefiLib: Fix XCODE5 varargs warning
2018-05-14 13:12 [Patch 0/3] Fix XCODE5 varargs warning in GetBestLanguage API Liming Gao
@ 2018-05-14 13:12 ` Liming Gao
2018-05-14 13:12 ` [Patch 2/3] IntelFrameworkPkg " Liming Gao
2018-05-14 13:12 ` [Patch 3/3] MdeModulePkg Variable: " Liming Gao
2 siblings, 0 replies; 4+ messages in thread
From: Liming Gao @ 2018-05-14 13:12 UTC (permalink / raw)
To: edk2-devel
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>
---
MdePkg/Include/Library/UefiLib.h | 2 +-
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 54bc2cc5a3..9d0cdec2e5 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 f1a3f1c7af..c96c0137d7 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,
...
)
{
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Patch 2/3] IntelFrameworkPkg UefiLib: Fix XCODE5 varargs warning
2018-05-14 13:12 [Patch 0/3] Fix XCODE5 varargs warning in GetBestLanguage API Liming Gao
2018-05-14 13:12 ` [Patch 1/3] MdePkg UefiLib: Fix XCODE5 varargs warning Liming Gao
@ 2018-05-14 13:12 ` Liming Gao
2018-05-14 13:12 ` [Patch 3/3] MdeModulePkg Variable: " Liming Gao
2 siblings, 0 replies; 4+ messages in thread
From: Liming Gao @ 2018-05-14 13:12 UTC (permalink / raw)
To: edk2-devel
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>
---
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c b/IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c
index 895ff39fc1..aa9162b539 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,
...
)
{
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Patch 3/3] MdeModulePkg Variable: Fix XCODE5 varargs warning
2018-05-14 13:12 [Patch 0/3] Fix XCODE5 varargs warning in GetBestLanguage API Liming Gao
2018-05-14 13:12 ` [Patch 1/3] MdePkg UefiLib: Fix XCODE5 varargs warning Liming Gao
2018-05-14 13:12 ` [Patch 2/3] IntelFrameworkPkg " Liming Gao
@ 2018-05-14 13:12 ` Liming Gao
2 siblings, 0 replies; 4+ messages in thread
From: Liming Gao @ 2018-05-14 13:12 UTC (permalink / raw)
To: edk2-devel
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>
---
MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 2 +-
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c
index 6dee2b6add..8ad2c7168d 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 6caf603b3d..12047bbfce 100644
--- a/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -1560,7 +1560,7 @@ CHAR8 *
EFIAPI
VariableGetBestLanguage (
IN CONST CHAR8 *SupportedLanguages,
- IN BOOLEAN Iso639Language,
+ IN UINTN Iso639Language,
...
)
{
--
2.16.2.windows.1
^ permalink raw reply related [flat|nested] 4+ messages in thread