From f2e2aad647d8b2e698b558ac08e9c0440816cda0 Mon Sep 17 00:00:00 2001 From: Jared Mulconry Date: Sun, 27 Nov 2016 13:28:40 +1100 Subject: [PATCH] Fixed build warnings on MSVC14 x64 in spacial sort. --- code/SpatialSort.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/SpatialSort.cpp b/code/SpatialSort.cpp index 722ec5f24..e7d64fec5 100644 --- a/code/SpatialSort.cpp +++ b/code/SpatialSort.cpp @@ -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(a+initial), *vec, distance)); } if (pFinalize) {