summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c
index 0245a26a6a..58d97ac7e1 100644
--- a/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c
+++ b/EdkCompatibilityPkg/Foundation/Library/EfiCommonLib/ReportStatusCode.c
@@ -332,8 +332,8 @@ 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 (EFIAARCH64) || defined(__APPLE__))
- // It is not legal C code to case VA_LIST to a pointer. VA_LIST can
+#if (defined (EFIARM) || defined (EFIAARCH64) || defined (__APPLE__))
+ // It is not legal C code to cast VA_LIST to a pointer. VA_LIST can
// be a structure.
return FALSE;
#else