[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 <ovidiu.pintican@intel.com> (cherry picked from commit bce17034)
parent
0e501dbd
Please register or sign in to comment