Fix MSVC C4244 narrowing conversion warning on 64-bit Windows. (#10647)
The difference_type (ptrdiff_t) is a narrowing conversion to size_type (int). MSVC 2019 C++17 issues a C4244 warning about the initialization. Co-authored-by: Mike Kruskal <62662355+mkruskal-google@users.noreply.github.com>pull/10662/head
parent
86a8760244
commit
d993377d14
2 changed files with 4 additions and 4 deletions
Loading…
Reference in new issue