Fix warning

master
Marc Gilleron 2021-02-16 22:47:13 +00:00
parent c5a4dd8f72
commit 1c4542c8cf
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ PoolRealArray DirectMultiMeshInstance::make_transform_3d_bulk_array(ArraySlice<c
PoolRealArray bulk_array;
bulk_array.resize(transforms.size() * 12);
CRASH_COND(transforms.size() * sizeof(Transform) / sizeof(float) != bulk_array.size());
CRASH_COND(transforms.size() * sizeof(Transform) / sizeof(float) != static_cast<size_t>(bulk_array.size()));
PoolRealArray::Write w = bulk_array.write();