fix them all

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-25 18:33:22 -07:00
committed by Esteban Papp
parent f02957c140
commit 58f8b563d0
22 changed files with 28 additions and 29 deletions
@@ -525,7 +525,7 @@ namespace NvCloth
const int numVertices = subMeshInfo.m_numVertices;
const int firstVertex = subMeshInfo.m_verticesFirstIndex;
if (subMesh.GetVertexCount() != numVertices)
if (subMesh.GetVertexCount() != static_cast<uint32_t>(numVertices))
{
AZ_Error("ClothComponentMesh", false,
"Render mesh to be modified doesn't have the same number of vertices (%d) as the cloth's submesh (%d).",