diff --git a/src/common/gbsizer.cpp b/src/common/gbsizer.cpp index 66c27e8299..4a7bf43182 100644 --- a/src/common/gbsizer.cpp +++ b/src/common/gbsizer.cpp @@ -473,9 +473,9 @@ wxSize wxGridBagSizer::CalcMin() item->GetEndPos(endrow, endcol); // fill heights and widths upto this item if needed - while ( m_rowHeights.GetCount() <= (size_t)endrow ) + while ( (int)m_rowHeights.GetCount() <= endrow ) m_rowHeights.Add(m_emptyCellSize.GetHeight()); - while ( m_colWidths.GetCount() <= (size_t)endcol ) + while ( (int)m_colWidths.GetCount() <= endcol ) m_colWidths.Add(m_emptyCellSize.GetWidth()); // See if this item increases the size of its row(s) or col(s)