X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3422227afc9ef4ace183dc57bc1e146efc90ba2f..15aad3b9386e52524eefbd2619571a038070419b:/src/common/datetime.cpp?ds=inline diff --git a/src/common/datetime.cpp b/src/common/datetime.cpp index 19236b62d8..9335c17f0c 100644 --- a/src/common/datetime.cpp +++ b/src/common/datetime.cpp @@ -3469,8 +3469,7 @@ const wxChar *wxDateTime::ParseDate(const wxChar *date) mon = (wxDateTime::Month)(day - 1); // we're in the current year then - if ( (year > 0) && - (unsigned)year <= GetNumOfDaysInMonth(Inv_Year, mon) ) + if ( (year > 0) && (year <= (int)GetNumOfDaysInMonth(Inv_Year, mon)) ) { day = year;