File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
include/boost/interprocess/detail Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ struct block_header
122122 BOOST_ASSERT (namelen == m_num_char);
123123 return get_rounded_size
124124 ( size_type (sizeof (Header))
125- , size_type (::boost::container::dtl::alignment_of<block_header<size_type> >::value))
125+ , size_type (::boost::container::dtl::alignment_of<block_header<size_type> >::value))
126126 + this ->template total_named_size <0 , char >(namelen);
127127 }
128128
@@ -392,7 +392,9 @@ struct block_header
392392
393393 size_type name_length_offset () const
394394 {
395- return this ->value_offset () + get_rounded_size (m_value_bytes, ::boost::move_detail::alignment_of<name_len_t >::value);
395+ return this ->value_offset () +
396+ get_rounded_size ( size_type (m_value_bytes)
397+ , size_type (::boost::move_detail::alignment_of<name_len_t >::value));
396398 }
397399};
398400
You can’t perform that action at this time.
0 commit comments