diff options
author | Marvin H?user <Marvin.Haeuser@outlook.com> | 2016-04-15 04:48:24 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2016-04-15 13:33:42 +0800 |
commit | 5a24a78fc5efdd1a82417d981d6c2038a94166b8 (patch) | |
tree | 011fcfba4edc831bafd155ddf4c7053d8b5f55ff /EdkCompatibilityPkg/Foundation/Library | |
parent | b7b2b3c8beafc191e16006bf407fcce8829d8a98 (diff) | |
download | edk2-platforms-5a24a78fc5efdd1a82417d981d6c2038a94166b8.tar.xz |
EdkCompatibilityPkg: Do not cast VA_LIST to a pointer for AARCH64.
Do not cast VA_LIST to a pointer for the AARCH64 architecture in
EfiCommonLib.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Library')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c index 775b7c36b6..0245a26a6a 100644 --- a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c +++ b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c @@ -332,7 +332,7 @@ Returns: // The first 12 * UINTN bytes of the string are really an
// arguement stack to support varargs on the Format string.
//
-#if (defined (EFIARM) || defined(__APPLE__))
+#if (defined (EFIARM) || defined (EFIAARCH64) || defined(__APPLE__))
// It is not legal C code to case VA_LIST to a pointer. VA_LIST can
// be a structure.
return FALSE;
|