Fixed build warnings on MSVC14 x64 in the CSM loader.

This commit is contained in:
Jared Mulconry
2016-11-19 03:29:47 +11:00
parent d16b8953b5
commit 9a323d6de3

View File

@@ -179,7 +179,7 @@ void CSMImporter::InternReadFile( const std::string& pFile,
nda->mNodeName.length = (size_t)(ot-nda->mNodeName.data);
}
anim->mNumChannels = anims_temp.size();
anim->mNumChannels = static_cast<unsigned int>(anims_temp.size());
if (!anim->mNumChannels)
throw DeadlyImportError("CSM: Empty $order section");