Browse Source

fix type error for template deduction.

Kim Kulling 5 years ago
parent
commit
c36b028412
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/PostProcessing/LimitBoneWeightsProcess.cpp

+ 1 - 1
code/PostProcessing/LimitBoneWeightsProcess.cpp

@@ -106,7 +106,7 @@ void LimitBoneWeightsProcess::ProcessMesh(aiMesh* pMesh)
     typedef SmallVector<Weight,8> VertexWeightArray;
     typedef std::vector<VertexWeightArray> WeightsPerVertex;
     WeightsPerVertex vertexWeights(pMesh->mNumVertices);
-    unsigned int maxVertexWeights = 0;
+    size_t maxVertexWeights = 0;
 
     for (unsigned int b = 0; b < pMesh->mNumBones; ++b)
     {