X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e2454588723f7877c32d721fb190a64c66ec2fa4..2841cdd89b8f68fbfe9414ac3f44408dfac77c7c:/src/common/ftp.cpp diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index 474a98a6dc..417849ea00 100644 --- a/src/common/ftp.cpp +++ b/src/common/ftp.cpp @@ -728,7 +728,7 @@ wxSocketBase *wxFTP::GetPassivePort() (wxUint16)a[3] << 16 | (wxUint16)a[4] << 8 | a[5]; - wxUint16 port = (wxUint16)a[0] << 8 | a[1]; + wxUint16 port = (wxUint16)(a[0] << 8 | a[1]); wxIPV4address addr; addr.Hostname(hostaddr); @@ -832,7 +832,7 @@ bool wxFTP::GetList(wxArrayString& files, if ( !CheckCommand(line, '1') ) { m_lastError = wxPROTO_PROTERR; - wxLogDebug("FTP 'LIST' command returned unexpected result from server"); + wxLogDebug(_T("FTP 'LIST' command returned unexpected result from server")); delete sock; return false; }