From fcca722d52c1be5e4555cfe28e42da227b183fd0 Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Wed, 13 Oct 2021 22:00:42 +0100 Subject: [PATCH] Fix signedness --- terrain/instancing/voxel_instance_library_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terrain/instancing/voxel_instance_library_item.cpp b/terrain/instancing/voxel_instance_library_item.cpp index b81f501c..57960f3c 100644 --- a/terrain/instancing/voxel_instance_library_item.cpp +++ b/terrain/instancing/voxel_instance_library_item.cpp @@ -177,7 +177,7 @@ Array VoxelInstanceLibraryItem::serialize_multimesh_item_properties() const { } void VoxelInstanceLibraryItem::deserialize_multimesh_item_properties(Array a) { - ERR_FAIL_COND(a.size() != _mesh_lods.size() + 6); + ERR_FAIL_COND(a.size() != int(_mesh_lods.size()) + 6); int ai = 0; for (unsigned int i = 0; i < _mesh_lods.size(); ++i) { _mesh_lods[i] = a[ai++];