Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MSVC C4244 narrowing conversion warning on 64-bit Windows. #10647

Merged
merged 2 commits into from
Sep 27, 2022

Conversation

themoox
Copy link
Contributor

@themoox themoox commented Sep 23, 2022

The difference_type (ptrdiff_t) is a narrowing conversion to size_type (int). MSVC 2019 C++17 issues a C4244 warning about the initialization.

The difference_type (ptrdiff_t) is a narrowing conversion to size_type (int).
MSVC 2019 C++17 issues a C4244 warning about the initialization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants