Commit 7c7c3d4a authored by Andrei Golubev's avatar Andrei Golubev Committed by Tom Stellard
Browse files

[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: default avatarOvidiu Pintican <ovidiu.pintican@intel.com>
(cherry picked from commit bce17034)
parent 0e501dbd
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment