Make sure arguments to get_rounded_size are the same type as in the rest of uses.

This commit is contained in:
Ion Gaztañaga
2025-10-11 12:45:52 +02:00
parent d5bb1904ed
commit 8825137ded

View File

@@ -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
{