mirror of https://github.com/acidanthera/audk.git
Vlv2TbltDevicePkg/FirmwareUpdate: rebase to ARRAY_SIZE()
Cc: David Wei <david.wei@intel.com> Cc: Tim He <tim.he@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: "Guo, Mang" <mang.guo@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
fe6c62fc0c
commit
849a706343
|
@ -34,7 +34,7 @@ FV_REGION_INFO mRegionInfo[] = {
|
|||
{FixedPcdGet32 (PcdBiosRomBase), FixedPcdGet32 (PcdBiosRomSize), TRUE}
|
||||
};
|
||||
|
||||
UINTN mRegionInfoCount = sizeof (mRegionInfo) / sizeof (mRegionInfo[0]);
|
||||
UINTN mRegionInfoCount = ARRAY_SIZE (mRegionInfo);
|
||||
|
||||
FV_INPUT_DATA mInputData = {0};
|
||||
|
||||
|
|
Loading…
Reference in New Issue