EdkCompatibilityPkg/Sample/Tools: rebase to ARRAY_SIZE()
Cc: Liming Gao <liming.gao@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
@@ -470,7 +470,7 @@ static const IFR_PARSE_TABLE_ENTRY mIfrParseTable[] = {
|
||||
IfrParse2A
|
||||
},
|
||||
};
|
||||
#define PARSE_TABLE_ENTRIES (sizeof (mIfrParseTable) / sizeof (mIfrParseTable[0]))
|
||||
#define PARSE_TABLE_ENTRIES (ARRAY_SIZE (mIfrParseTable))
|
||||
|
||||
static
|
||||
STATUS
|
||||
|
Reference in New Issue
Block a user