X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/564cb9de6150b7de9fbbce5b4f8de24792922277..814af667d9f1e31d9f54759b4e406209b1a3250f:/src/mac/carbon/region.cpp diff --git a/src/mac/carbon/region.cpp b/src/mac/carbon/region.cpp index a03e1515ba..c1ef0182d4 100644 --- a/src/mac/carbon/region.cpp +++ b/src/mac/carbon/region.cpp @@ -95,7 +95,7 @@ wxRegion::wxRegion(size_t n, const wxPoint *points, int WXUNUSED(fillStyle)) x2 = x1 = points[0].x ; y2 = y1 = points[0].y ; ::MoveTo(x1,y1); - for (int i = 1; i < n; i++) + for (size_t i = 1; i < n; i++) { x2 = points[i].x ; y2 = points[i].y ;