Another size_t conversion

master
Marc Gilleron 2021-06-13 17:15:11 +01:00
parent 6374c9831c
commit 84e00ccbaf
1 changed files with 2 additions and 1 deletions

View File

@ -651,7 +651,8 @@ void VoxelRegionFile::debug_check() {
const unsigned int block_begin = _blocks_begin_offset + sector_index * _header.format.sector_size;
if (block_begin >= file_len) {
print_line(String("ERROR: LUT {0} ({1}): offset {2} is larger than file size {3}")
.format(varray(lut_index, position.to_vec3(), block_begin, file_len)));
.format(varray(lut_index, position.to_vec3(), block_begin,
SIZE_T_TO_VARIANT(file_len))));
continue;
}
f->seek(block_begin);