Fixed build warnings on MSVC14 x64 in spacial sort.

pull/1083/head
Jared Mulconry 2016-11-27 13:28:40 +11:00
parent 20318811ff
commit f2e2aad647
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ void SpatialSort::Append( const aiVector3D* pPositions, unsigned int pNumPositio
// store position by index and distance
ai_real distance = *vec * mPlaneNormal;
mPositions.push_back( Entry( a+initial, *vec, distance));
mPositions.push_back( Entry( static_cast<unsigned int>(a+initial), *vec, distance));
}
if (pFinalize) {