Fixed build warnings on MSVC14 x64 in the CSM loader.

pull/1083/head
Jared Mulconry 2016-11-19 03:29:47 +11:00
parent d16b8953b5
commit 9a323d6de3
1 changed files with 1 additions and 1 deletions

View File

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