Selaa lähdekoodia

Fixed build warnings on MSVC14 x64 in the CSM loader.

Jared Mulconry 8 vuotta sitten
vanhempi
commit
9a323d6de3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      code/CSMLoader.cpp

+ 1 - 1
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<unsigned int>(anims_temp.size());
                 if (!anim->mNumChannels)
                     throw DeadlyImportError("CSM: Empty $order section");