Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user