diff --git a/code/PostProcessing/LimitBoneWeightsProcess.cpp b/code/PostProcessing/LimitBoneWeightsProcess.cpp index f2e615667..5b8934159 100644 --- a/code/PostProcessing/LimitBoneWeightsProcess.cpp +++ b/code/PostProcessing/LimitBoneWeightsProcess.cpp @@ -106,7 +106,7 @@ void LimitBoneWeightsProcess::ProcessMesh(aiMesh* pMesh) typedef SmallVector VertexWeightArray; typedef std::vector WeightsPerVertex; WeightsPerVertex vertexWeights(pMesh->mNumVertices); - unsigned int maxVertexWeights = 0; + size_t maxVertexWeights = 0; for (unsigned int b = 0; b < pMesh->mNumBones; ++b) {