1 diff --git a/include/mdds/multi_type_vector.hpp b/include/mdds/multi_type_vector.hpp
2 index d941ee2..71c34f3 100644
3 --- a/include/mdds/multi_type_vector.hpp
4 +++ b/include/mdds/multi_type_vector.hpp
5 @@ -1071,7 +1071,7 @@ public:
9 - void adjust_block_positions(int64_t start_block_index, size_type delta);
10 + void adjust_block_positions(int64_t start_block_index, int64_t delta);
13 * Delete only the element block owned by an outer block.
14 diff --git a/include/mdds/multi_type_vector_def.inl b/include/mdds/multi_type_vector_def.inl
15 index d4fff49..7509e3e 100644
16 --- a/include/mdds/multi_type_vector_def.inl
17 +++ b/include/mdds/multi_type_vector_def.inl
18 @@ -503,7 +503,7 @@ multi_type_vector<_CellBlockFunc, _EventFunc>::set(const iterator& pos_hint, siz
21 template<typename _CellBlockFunc, typename _EventFunc>
22 -void multi_type_vector<_CellBlockFunc, _EventFunc>::adjust_block_positions(int64_t start_block_index, size_type delta)
23 +void multi_type_vector<_CellBlockFunc, _EventFunc>::adjust_block_positions(int64_t start_block_index, int64_t delta)
25 int64_t n = m_blocks.size();
27 @@ -2927,7 +2927,7 @@ void multi_type_vector<_CellBlockFunc, _EventFunc>::erase_impl(size_type start_r
28 // Now, erase all blocks in between.
29 delete_element_blocks(it_erase_begin, it_erase_end);
30 auto it_adjust_block = m_blocks.erase(it_erase_begin, it_erase_end);
31 - size_type delta = end_row - start_row + 1;
32 + int64_t delta = end_row - start_row + 1;
36 @@ -2945,7 +2945,7 @@ void multi_type_vector<_CellBlockFunc, _EventFunc>::erase_in_single_block(
38 // Range falls within the same block.
39 block* blk = &m_blocks[block_pos];
40 - size_type size_to_erase = end_pos - start_pos + 1;
41 + int64_t size_to_erase = end_pos - start_pos + 1;
44 // Erase data in the data block.