Fix compilation problem using size_t on clang 3.4 and gcc 4.8

This commit is contained in:
David Capello 2015-10-26 18:36:57 -03:00
parent 56854cdb9f
commit 41f4fcf802

View File

@ -44,7 +44,7 @@ gfx::Rect Stroke::bounds() const
minpt(m_points[0]),
maxpt(m_points[0]);
for (size_t c=1; c<m_points.size(); ++c) {
for (std::size_t c=1; c<m_points.size(); ++c) {
int x = m_points[c].x;
int y = m_points[c].y;
if (minpt.x > x) minpt.x = x;