summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Guid/FileInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/Guid/FileInfo.h')
-rw-r--r--MdePkg/Include/Guid/FileInfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdePkg/Include/Guid/FileInfo.h b/MdePkg/Include/Guid/FileInfo.h
index 271005f309..da5868920d 100644
--- a/MdePkg/Include/Guid/FileInfo.h
+++ b/MdePkg/Include/Guid/FileInfo.h
@@ -64,7 +64,7 @@ typedef struct {
/// computes this size correctly no matter how big the FileName array is declared.
/// This is required to make the EFI_FILE_INFO data structure ANSI compilant.
///
-#define SIZE_OF_EFI_FILE_INFO EFI_FIELD_OFFSET (EFI_FILE_INFO, FileName)
+#define SIZE_OF_EFI_FILE_INFO OFFSET_OF (EFI_FILE_INFO, FileName)
extern EFI_GUID gEfiFileInfoGuid;