From 6f0efc092caf0dd6792a32560ad5455c9b96cfde Mon Sep 17 00:00:00 2001 From: evoskuil Date: Sun, 26 Jul 2015 17:37:28 -0700 Subject: [PATCH] Make lossy cast explicit. --- src/decoder_allocators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/decoder_allocators.cpp b/src/decoder_allocators.cpp index f122e792..7480d402 100644 --- a/src/decoder_allocators.cpp +++ b/src/decoder_allocators.cpp @@ -38,7 +38,7 @@ zmq::shared_message_memory_allocator::shared_message_memory_allocator (std::size bufsize(0), max_size(bufsize_), msg_refcnt(NULL), - maxCounters (std::ceil (static_cast (max_size) / static_cast (msg_t::max_vsm_size))) + maxCounters (static_cast (std::ceil (static_cast (max_size) / static_cast (msg_t::max_vsm_size)))) { }