X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6f2a55e34ab1f8fa99dfd2f7ca5488685395db28..d71fa6fb2e2421b9d8deb826d60d5d8636665d91:/src/gtk1/region.cpp diff --git a/src/gtk1/region.cpp b/src/gtk1/region.cpp index 1b6cdf892e..edb6b766d9 100644 --- a/src/gtk1/region.cpp +++ b/src/gtk1/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