]> git.proxmox.com Git - mirror_edk2.git/commitdiff
EdkCompatibilityPkg: Do not cast VA_LIST to a pointer for AARCH64.
authorMarvin H?user <Marvin.Haeuser@outlook.com>
Thu, 14 Apr 2016 20:48:24 +0000 (04:48 +0800)
committerLiming Gao <liming.gao@intel.com>
Fri, 15 Apr 2016 05:33:42 +0000 (13:33 +0800)
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>
EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c

index 775b7c36b6678899930b32c8a8ee9c013363a10d..0245a26a6a2e70075c6c34b27cb5e7c6f795f7d1 100644 (file)
@@ -332,7 +332,7 @@ Returns:
   // The first 12 * UINTN bytes of the string are really an \r
   // arguement stack to support varargs on the Format string.\r
   //\r
-#if (defined (EFIARM) || defined(__APPLE__))\r
+#if (defined (EFIARM) || defined (EFIAARCH64) || defined(__APPLE__))\r
   // It is not legal C code to case VA_LIST to a pointer. VA_LIST can \r
   // be a structure. \r
   return FALSE;\r