diff --git a/include/boost/gil/channel_algorithm.hpp b/include/boost/gil/channel_algorithm.hpp
index 1361219..957dd52 100644
a
|
b
|
template <typename SrcChannelV, typename DstChannelV, bool SrcLessThanDst, bool
|
51 | 51 | |
52 | 52 | |
53 | 53 | template <typename UnsignedIntegralChannel> |
54 | | struct unsigned_integral_max_value : public mpl::integral_c<UnsignedIntegralChannel,-1> {}; |
| 54 | struct unsigned_integral_max_value : public mpl::integral_c<UnsignedIntegralChannel,static_cast<UnsignedIntegralChannel>(-1)> {}; |
55 | 55 | |
56 | 56 | template <> |
57 | 57 | struct unsigned_integral_max_value<uint8_t> : public mpl::integral_c<uint32_t,0xFF> {}; |