Merge pull request #325 from dsrw/clang-fixes

Fixed clang build
master
Marc 2021-11-03 13:37:20 +00:00 committed by GitHub
commit 370bce9de3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -618,8 +618,8 @@ Dictionary VoxelServer::Stats::to_dict() {
// This part is additional for scripts because VoxelMemoryPool is not exposed
Dictionary mem;
mem["voxel_total"] = VoxelMemoryPool::get_singleton()->debug_get_total_memory();
mem["voxel_used"] = VoxelMemoryPool::get_singleton()->debug_get_used_memory();
mem["voxel_total"] = SIZE_T_TO_VARIANT(VoxelMemoryPool::get_singleton()->debug_get_total_memory());
mem["voxel_used"] = SIZE_T_TO_VARIANT(VoxelMemoryPool::get_singleton()->debug_get_used_memory());
mem["block_count"] = VoxelMemoryPool::get_singleton()->debug_get_used_blocks();
Dictionary d;