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: avoid warnings on Windows #12701

Commits on May 6, 2023

  1. fix: avoid warnings on Windows

    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.
    coryan committed May 6, 2023
    Configuration menu
    Copy the full SHA
    b1ec34d View commit details
    Browse the repository at this point in the history