Ticket #7270: boost-gil-clang-c++11-narrowing.patch
File boost-gil-clang-c++11-narrowing.patch, 545 bytes (added by , 10 years ago) |
---|
-
boost/gil/
old new 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> {};