Convert size_t to comply with Variant conversion problem on some compilers
This commit is contained in:
parent
73af17e65f
commit
6374c9831c
@ -660,7 +660,9 @@ void VoxelRegionFile::debug_check() {
|
||||
const size_t remaining_size = file_len - pos;
|
||||
if (block_data_size > remaining_size) {
|
||||
print_line(String("ERROR: LUT {0} ({1}): block size at offset {2} is larger than remaining size {3}")
|
||||
.format(varray(lut_index, position.to_vec3(), block_data_size, remaining_size)));
|
||||
.format(varray(lut_index, position.to_vec3(),
|
||||
SIZE_T_TO_VARIANT(block_data_size),
|
||||
SIZE_T_TO_VARIANT(remaining_size))));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user