]> git.proxmox.com Git - mirror_edk2.git/blobdiff - DuetPkg/Library/DxeCoreReportStatusCodeLibFromHob/ReportStatusCodeLib.c
This checkin addresses the compatibility issue of passing arguments of type VA_LIST...
[mirror_edk2.git] / DuetPkg / Library / DxeCoreReportStatusCodeLibFromHob / ReportStatusCodeLib.c
index 71606143f1ee7992e5149073cb36a755d617a089..c8268c7de6dfd21c6f21069a53856845a12333cb 100644 (file)
@@ -229,14 +229,14 @@ EFIAPI
 ReportStatusCodeExtractDebugInfo (\r
   IN CONST EFI_STATUS_CODE_DATA  *Data,\r
   OUT UINT32                     *ErrorLevel,\r
-  OUT VA_LIST                    *Marker,\r
+  OUT BASE_LIST                  *Marker,\r
   OUT CHAR8                      **Format\r
   )\r
 {\r
   EFI_DEBUG_INFO  *DebugInfo;\r
 \r
-  ASSERT (Data       != NULL);\r
-  ASSERT (ErrorLevel != NULL);\r
+  ASSERT (Data          != NULL);\r
+  ASSERT (ErrorLevel    != NULL);\r
   ASSERT (Marker     != NULL);\r
   ASSERT (Format     != NULL);\r
 \r
@@ -258,7 +258,7 @@ ReportStatusCodeExtractDebugInfo (
   // The first 12 * UINTN bytes of the string are really an\r
   // argument stack to support varargs on the Format string.\r
   //\r
-  *Marker = (VA_LIST) (DebugInfo + 1);\r
+  *Marker = (BASE_LIST) (DebugInfo + 1);\r
   *Format = (CHAR8 *)(((UINT64 *)*Marker) + 12);\r
 \r
   return TRUE;\r