Minor code tweeks to stop BCC compiler warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3119,7 +3119,7 @@ const wxChar *wxDateTime::ParseDate(const wxChar *date)
|
||||
: 31;
|
||||
|
||||
// can it be day?
|
||||
if ( (val == 0) || (val > maxDays) )
|
||||
if ( (val == 0) || (val > (unsigned long)maxDays) ) // cast to shut up compiler warning in BCC
|
||||
{
|
||||
isYear = TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user