From: Vadim Zeitlin Date: Sat, 5 Apr 2008 17:07:04 +0000 (+0000) Subject: fix for g++ signed/unsigned comparison warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c912c9400cfe726c4bcc6dc4f8e852a1b32eddec?ds=sidebyside fix for g++ signed/unsigned comparison warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/calctrl.cpp b/src/msw/calctrl.cpp index 8a10681823..37bd62296f 100644 --- a/src/msw/calctrl.cpp +++ b/src/msw/calctrl.cpp @@ -330,7 +330,7 @@ void wxCalendarCtrl::UpdateMarks() { MONTHDAYSTATE states[3]; const int nMonths = MonthCal_GetMonthRange(GetHwnd(), GMR_DAYSTATE, NULL); - wxCHECK_RET( nMonths <= WXSIZEOF(states), "unexpected months range" ); + wxCHECK_RET( nMonths <= (int)WXSIZEOF(states), "unexpected months range" ); for ( int i = 0; i < nMonths; i++ ) states[i] = m_marks;