]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/region.cpp
correction to last commit: don't test unsetenv() return value, it's void under Darwin
[wxWidgets.git] / src / gtk / region.cpp
index 33ee658dbdb4aee5b07aa4500538265f87dd49b6..964ae16316061c75ddcd15dfedc6c28218a8f810 100644 (file)
@@ -465,7 +465,7 @@ wxRegionIterator& wxRegionIterator::operator=(const wxRegionIterator& ri)
     if ( m_numRects )
     {
         m_rects = new wxRect[m_numRects];
-        for ( long n = 0; n < m_numRects; n++ )
+        for ( unsigned int n = 0; n < m_numRects; n++ )
             m_rects[n] = ri.m_rects[n];
     }
     else