Fixed warnings when compiling for x64 on MSVC through VS 2017 v15.3.3.

This commit is contained in:
Jared Mulconry
2017-09-10 19:13:12 +10:00
parent 6e02bcd8d6
commit 6db0a63d6e

View File

@@ -128,7 +128,7 @@ void ProcessParametrizedProfile(const IfcParameterizedProfileDef& def, TempMesh&
meshout.verts.push_back( IfcVector3( std::cos(angle)*radius, std::sin(angle)*radius, 0.f ));
}
meshout.vertcnt.push_back(segments);
meshout.vertcnt.push_back(static_cast<unsigned int>(segments));
}
else if( const IfcIShapeProfileDef* const ishape = def.ToPtr<IfcIShapeProfileDef>()) {
// construct simplified IBeam shape