]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/datetime.cpp
created wxBookCtrl which will be tje base class for wxNotebook and wxListbook; moved...
[wxWidgets.git] / src / common / datetime.cpp
index 19236b62d8b89280f71bdad3b2d7035780106145..9335c17f0cf7afe926603bda70ec7e49b0548dd3 100644 (file)
@@ -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;