diff options
-rw-r--r-- | Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.c b/Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.c index 16629bf93b..8e44224e67 100644 --- a/Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.c +++ b/Vlv2TbltDevicePkg/Application/FirmwareUpdate/FirmwareUpdate.c @@ -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};
|