瀏覽代碼

fix type error for template deduction.

Kim Kulling 5 年之前
父節點
當前提交
c36b028412
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)
     {