mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Make lossy cast explicit.
This commit is contained in:
parent
342c417f9d
commit
6f0efc092c
@ -38,7 +38,7 @@ zmq::shared_message_memory_allocator::shared_message_memory_allocator (std::size
|
|||||||
bufsize(0),
|
bufsize(0),
|
||||||
max_size(bufsize_),
|
max_size(bufsize_),
|
||||||
msg_refcnt(NULL),
|
msg_refcnt(NULL),
|
||||||
maxCounters (std::ceil (static_cast <double> (max_size) / static_cast <double> (msg_t::max_vsm_size)))
|
maxCounters (static_cast <size_t> (std::ceil (static_cast <double> (max_size) / static_cast <double> (msg_t::max_vsm_size))))
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user