VC++ compilation warnings fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2002-11-11 22:51:12 +00:00
parent 959880045d
commit e3e500d8c2
2 changed files with 3 additions and 3 deletions

View File

@@ -2586,8 +2586,8 @@ wxVariant wxDbTable::GetCol(const int colNo) const
void csstrncpyt(char *s, const char *t, int n)
{
while ((*s++ = *t++) && --n)
{};
while ( (*s++ = *t++) != '\0' && --n )
;
*s = '\0';
}

View File

@@ -250,7 +250,7 @@ void wxGenericDirDialog::OnShowHidden( wxCommandEvent& event )
if (!m_dirCtrl)
return;
m_dirCtrl->ShowHidden( event.GetInt() );
m_dirCtrl->ShowHidden( event.GetInt() != 0 );
}
void wxGenericDirDialog::OnNew( wxCommandEvent& WXUNUSED(event) )