Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ODS][NFC] Cast range.size() to int32_t in accumulation (#85629)
Using range.size() "as is" means we accumulate 'size_t' values into 'int32_t' variable. This may produce narrowing conversion warnings (particularly, on MSVC). The surrounding code seems to cast <x>.size() to 'int32_t' so following this practice seems safe enough. Co-authored-by: Ovidiu Pintican <[email protected]> (cherry picked from commit bce1703)
- Loading branch information