From 9a323d6de3d95abbf2925b2726ac6d998680ebe9 Mon Sep 17 00:00:00 2001 From: Jared Mulconry Date: Sat, 19 Nov 2016 03:29:47 +1100 Subject: [PATCH] Fixed build warnings on MSVC14 x64 in the CSM loader. --- code/CSMLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CSMLoader.cpp b/code/CSMLoader.cpp index 925abf4bd..5f274c51f 100644 --- a/code/CSMLoader.cpp +++ b/code/CSMLoader.cpp @@ -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(anims_temp.size()); if (!anim->mNumChannels) throw DeadlyImportError("CSM: Empty $order section");