X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f2a55e34ab1f8fa99dfd2f7ca5488685395db28..d3acd3697ad19e0edbff62db7f94bd025cf8883b:/src/gtk/region.cpp diff --git a/src/gtk/region.cpp b/src/gtk/region.cpp index 1b6cdf892e..edb6b766d9 100644 --- a/src/gtk/region.cpp +++ b/src/gtk/region.cpp @@ -349,22 +349,22 @@ void wxRegionIterator::Reset( const wxRegion& region ) wxRegionIterator::operator bool () const { - return m_current < m_region.GetRectList()->Number(); + return m_current < (size_t)m_region.GetRectList()->Number(); } bool wxRegionIterator::HaveRects() const { - return m_current < m_region.GetRectList()->Number(); + return m_current < (size_t)m_region.GetRectList()->Number(); } void wxRegionIterator::operator ++ () { - if (m_current < m_region.GetRectList()->Number()) ++m_current; + if (m_current < (size_t)m_region.GetRectList()->Number()) ++m_current; } void wxRegionIterator::operator ++ (int) { - if (m_current < m_region.GetRectList()->Number()) ++m_current; + if (m_current < (size_t)m_region.GetRectList()->Number()) ++m_current; } wxCoord wxRegionIterator::GetX() const