From 335003a5a338af01968b6e13d7fa498dcfbfca2a Mon Sep 17 00:00:00 2001 From: Jared Mulconry Date: Sun, 20 Nov 2016 02:03:53 +1100 Subject: [PATCH] Fixed build warnings on MSVC14 x64 in the LWS format sources. --- code/LWSLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/LWSLoader.cpp b/code/LWSLoader.cpp index a81c15a6e..6ca3cf589 100644 --- a/code/LWSLoader.cpp +++ b/code/LWSLoader.cpp @@ -902,7 +902,7 @@ void LWSImporter::InternReadFile( const std::string& pFile, aiScene* pScene, anim->mTicksPerSecond = fps; anim->mDuration = last-(first-1); /* fixme ... zero or one-based?*/ - anim->mChannels = new aiNodeAnim*[anim->mNumChannels = anims.size()]; + anim->mChannels = new aiNodeAnim*[anim->mNumChannels = static_cast(anims.size())]; std::copy(anims.begin(),anims.end(),anim->mChannels); }