X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/49cfad613b496a2827574417195feee7b57660ca..cbc8576a9b0102e84d4410cf7592587001ad47dc:/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: