From 5a24a78fc5efdd1a82417d981d6c2038a94166b8 Mon Sep 17 00:00:00 2001 From: Marvin H?user Date: Fri, 15 Apr 2016 04:48:24 +0800 Subject: [PATCH] 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 Reviewed-by: Liming Gao --- .../Foundation/Library/EfiCommonLib/ReportStatusCode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;