Use ui32 for block sizes

This commit is contained in:
Vitaliy Filippov
2025-11-23 19:08:23 +03:00
parent e0d60dd49f
commit 6464dae129
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -272,7 +272,7 @@ uint64_t blockstore_heap_t::load_blocks(uint64_t disk_offset, uint64_t size, uin
}
if (region_marker > dsk->meta_block_size-block_offset)
{
fprintf(stderr, "Warning: Entry is too large in metadata block %u at %u (%u > max %ju bytes), skipping the rest of block\n",
fprintf(stderr, "Warning: Entry is too large in metadata block %u at %u (%u > max %u bytes), skipping the rest of block\n",
block_num, block_offset, region_marker, dsk->meta_block_size-block_offset);
if (fail_on_warn)
abort();