Fixed build warnings on MSVC14 x64 in the IFC format sources.
This commit is contained in:
@@ -159,7 +159,7 @@ unsigned int ProcessMaterials(uint64_t id, unsigned int prevMatId, ConversionDat
|
||||
FillMaterial(mat.get(), surf, conv);
|
||||
|
||||
conv.materials.push_back(mat.release());
|
||||
unsigned int matindex = conv.materials.size() - 1;
|
||||
unsigned int matindex = static_cast<unsigned int>(conv.materials.size() - 1);
|
||||
conv.cached_materials[surf] = matindex;
|
||||
return matindex;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user