Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information