X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49cfad613b496a2827574417195feee7b57660ca..2aa54d47d66b5cda0dca2b743e11c954581a7b99:/include/wx/sizer.h diff --git a/include/wx/sizer.h b/include/wx/sizer.h index 29facff1e2..e11720a4e0 100644 --- a/include/wx/sizer.h +++ b/include/wx/sizer.h @@ -814,7 +814,7 @@ protected: "Can't calculate number of cols if number of rows is not specified" ); - return (m_children.GetCount() + m_rows - 1) / m_rows; + return int(m_children.GetCount() + m_rows - 1) / m_rows; } int CalcRows() const @@ -825,7 +825,7 @@ protected: "Can't calculate number of cols if number of rows is not specified" ); - return (m_children.GetCount() + m_cols - 1) / m_cols; + return int(m_children.GetCount() + m_cols - 1) / m_cols; } private: