Opened 5 years ago
#13188 new Patches
VS2017 reports typecast error in two_bit_color_map.hpp
| Reported by: | Owned by: | Jeremiah Willcock | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | graph |
| Version: | Boost 1.65.0 | Severity: | Problem |
| Keywords: | Cc: |
Description
line 61 of boost/graph/two_bit_color_map.hpp, final parameter causes an int32 to unsigned char type conversion warning.
Maybe resolved by changing line 61 to:
std::fill(data.get(), data.get() + (n + elements_per_char - 1) / elements_per_char, static_cast<unsigned char>(white_color));
Note:
See TracTickets
for help on using tickets.
