We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34a9b3a commit 8f641a3Copy full SHA for 8f641a3
zmq_addon.hpp
@@ -300,7 +300,7 @@ message_t encode(const Range &parts)
300
301
if (part_size < (std::numeric_limits<std::uint8_t>::max)()) {
302
// small part
303
- *buf++ = (unsigned char) part_size;
+ *buf++ = static_cast<unsigned char>(part_size);
304
} else {
305
// big part
306
*buf++ = (std::numeric_limits<uint8_t>::max)();
0 commit comments