Commit bce1703
[ODS][NFC] Cast range.size() to int32_t in accumulation (llvm#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]>1 parent 9855134 commit bce1703
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3057 | 3057 | | |
3058 | 3058 | | |
3059 | 3059 | | |
3060 | | - | |
| 3060 | + | |
3061 | 3061 | | |
3062 | 3062 | | |
3063 | 3063 | | |
| |||
0 commit comments