Fixed build warnings on MSVC14 x64 in Unreal importer.

pull/1083/head
Jared Mulconry 2016-11-27 14:36:45 +11:00
parent 39f54bf183
commit f22d78a3d3
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ void UnrealImporter::InternReadFile( const std::string& pFile,
std::vector<Unreal::TempMat>::iterator nt = std::find(materials.begin(),materials.end(),mat);
if (nt == materials.end()) {
// add material
tri.matIndex = materials.size();
tri.matIndex = static_cast<unsigned int>(materials.size());
mat.numFaces = 1;
materials.push_back(mat);