summaryrefslogtreecommitdiffstats
path: root/EdkCompatibilityPkg
diff options
context:
space:
mode:
authorMarvin H?user <Marvin.Haeuser@outlook.com>2016-04-15 04:48:24 +0800
committerLiming Gao <liming.gao@intel.com>2016-04-15 13:33:42 +0800
commit5a24a78fc5efdd1a82417d981d6c2038a94166b8 (patch)
tree011fcfba4edc831bafd155ddf4c7053d8b5f55ff /EdkCompatibilityPkg
parentb7b2b3c8beafc191e16006bf407fcce8829d8a98 (diff)
downloadedk2-5a24a78fc5efdd1a82417d981d6c2038a94166b8.tar.gz
edk2-5a24a78fc5efdd1a82417d981d6c2038a94166b8.tar.bz2
edk2-5a24a78fc5efdd1a82417d981d6c2038a94166b8.zip
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')
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c2
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;