Fix fill_block_empty_space argument type (ui32 -> ui64)
This commit is contained in:
@@ -2364,7 +2364,7 @@ void blockstore_heap_t::get_meta_block(uint32_t block_num, uint8_t *buffer)
|
||||
}
|
||||
}
|
||||
|
||||
void blockstore_heap_t::fill_block_empty_space(uint8_t *buffer, uint32_t pos)
|
||||
void blockstore_heap_t::fill_block_empty_space(uint8_t *buffer, uint64_t pos)
|
||||
{
|
||||
if (pos > dsk->meta_block_size)
|
||||
{
|
||||
|
||||
@@ -361,7 +361,7 @@ public:
|
||||
|
||||
// get metadata block data buffer and used space
|
||||
void get_meta_block(uint32_t block_num, uint8_t *buffer);
|
||||
void fill_block_empty_space(uint8_t *buffer, uint32_t pos);
|
||||
void fill_block_empty_space(uint8_t *buffer, uint64_t pos);
|
||||
uint32_t get_meta_block_used_space(uint32_t block_num);
|
||||
|
||||
// get space usage statistics
|
||||
|
||||
Reference in New Issue
Block a user