On Wndows, `size_t` is 64-bits, and `int` is 32-bits. That makes conversions from `size_t` to `int` potentially lossy, and they generate warnings. In this case an `int` variable was assigned to `size_t` and then passed to functions consuming `int`. Seems simpler to use `auto` and avoid these problems altogether.pull/12701/head
parent
da2c4a6ce9
commit
b1ec34de77
1 changed files with 2 additions and 2 deletions
Loading…
Reference in new issue