Fix signedness warnings

This commit is contained in:
Eric Fischer
2015-10-14 12:24:18 -07:00
parent 2b25c2fe3e
commit 592c47c549
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -331,7 +331,7 @@ static void decode_clipped(ClipperLib::PolyNode *t, drawvec &out) {
// to do any outer-ring children of those children as a new top level.
ClipperLib::Path p = t->Contour;
for (int i = 0; i < p.size(); i++) {
for (unsigned i = 0; i < p.size(); i++) {
out.push_back(draw((i == 0) ? VT_MOVETO : VT_LINETO, p[i].X, p[i].Y));
}
if (p.size() > 0) {
@@ -340,7 +340,7 @@ static void decode_clipped(ClipperLib::PolyNode *t, drawvec &out) {
for (int n = 0; n < t->ChildCount(); n++) {
ClipperLib::Path p = t->Childs[n]->Contour;
for (int i = 0; i < p.size(); i++) {
for (unsigned i = 0; i < p.size(); i++) {
out.push_back(draw((i == 0) ? VT_MOVETO : VT_LINETO, p[i].X, p[i].Y));
}
if (p.size() > 0) {