Fixed build warnings on MSVC14 x64 in the LWO format sources.

This commit is contained in:
Jared Mulconry
2016-11-20 02:01:57 +11:00
parent 4df18f93ea
commit 2c93e29dcc
2 changed files with 4 additions and 4 deletions

View File

@@ -426,7 +426,7 @@ void LWOImporter::InternReadFile( const std::string& pFile,
}
// Generate nodes to render the mesh. Store the source layer in the mParent member of the nodes
unsigned int num = apcMeshes.size() - meshStart;
unsigned int num = static_cast<unsigned int>(apcMeshes.size() - meshStart);
if (layer.mName != "<LWODefault>" || num > 0) {
aiNode* pcNode = new aiNode();
apcNodes[layer.mIndex] = pcNode;