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

Fixed int -> float truncation warning in pixel.hpp #689

Closed
wants to merge 2 commits into from

Commits on Jun 17, 2022

  1. Fixed int -> float truncation warning in pixel.hpp

    The underlying channel type for grayscale pixels is a 32-bit float. If `Channel` cannot be losslessly converted to a float--for example, if it is `int`--this would generate a compiler warning. The fix here is to perform an explicit cast. Fixes boostorg#688.
    jsenn authored Jun 17, 2022
    Configuration menu
    Copy the full SHA
    01da835 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab27288 View commit details
    Browse the repository at this point in the history