X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6cc280ca919b6b5475bcc3aa70e0822ef6e33f21..4f0436e4655b628b32c4e9b27837c400e46c3746:/src/common/ftp.cpp diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 0a470ca93f..013495c741 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -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; }