Warning fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2004-11-22 17:45:20 +00:00
parent f43707413a
commit f9df3f0586
2 changed files with 6 additions and 4 deletions

View File

@@ -348,7 +348,7 @@ char wxFTP::GetResult()
}
// if we got here we must have a non empty code string
return code[0u];
return (char)code[0u];
}
// ----------------------------------------------------------------------------
@@ -824,7 +824,7 @@ bool wxFTP::GetList(wxArrayString& files,
// - Windows : like "dir" command
// - others : ?
wxString line(details ? _T("LIST") : _T("NLST"));
if ( !wildcard.IsEmpty() )
if ( !wildcard.empty() )
{
line << _T(' ') << wildcard;
}