]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/region.cpp
corrected conditional compilation for Universal Interfaces (3.4 or later)
[wxWidgets.git] / src / motif / region.cpp
index f9e7e47413b2926f391f345aa739c00f1d8321da..fb3b1e3db2551e6b427f0bdc01a79689adca70bf 100644 (file)
@@ -462,8 +462,7 @@ void wxRegionIterator::Reset(const wxRegion& region)
             m_numRects = count;
             m_rects = new wxRect[m_numRects];
 
-            int i = 0;
-            for (i = 0; i < m_numRects; i++)
+            for (size_t i = 0; i < m_numRects; i++)
                m_rects[i] = rects[i];
 
            /*