mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-16 04:13:50 +00:00
Fix compilation problem using size_t on clang 3.4 and gcc 4.8
This commit is contained in:
parent
56854cdb9f
commit
41f4fcf802
@ -44,7 +44,7 @@ gfx::Rect Stroke::bounds() const
|
|||||||
minpt(m_points[0]),
|
minpt(m_points[0]),
|
||||||
maxpt(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 x = m_points[c].x;
|
||||||
int y = m_points[c].y;
|
int y = m_points[c].y;
|
||||||
if (minpt.x > x) minpt.x = x;
|
if (minpt.x > x) minpt.x = x;
|
||||||
|
Loading…
Reference in New Issue
Block a user