mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Make sure arguments to get_rounded_size are the same type as in the rest of uses.
This commit is contained in:
@@ -388,7 +388,8 @@ struct block_header
|
||||
|
||||
template<std::size_t CharAlign>
|
||||
size_type name_offset() const
|
||||
{ return get_rounded_size(this->name_length_offset()+sizeof(name_len_t), CharAlign); }
|
||||
{ return get_rounded_size( size_type(this->name_length_offset()+sizeof(name_len_t))
|
||||
, size_type(CharAlign)); }
|
||||
|
||||
size_type name_length_offset() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user