Avoid Clang compilation warnings

This commit is contained in:
brunoherbelin
2020-03-31 20:52:00 +02:00
parent 2fc01e8435
commit da8e124ad1
4 changed files with 11 additions and 11 deletions

View File

@@ -121,7 +121,7 @@ void MediaRectangle::update( float dt )
LineStrip::LineStrip(std::vector<glm::vec3> points, glm::vec3 color)
{
for(int i = 0; i < points.size(); ++i)
for(size_t i = 0; i < points.size(); ++i)
{
points_.push_back( points[i] );
colors_.push_back( color );