X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef5eca7acc0a177b1d87aa6e84bc04fb998b78ee..7869b836decaaefbb3b1de58dfe297e7d9dd5d2a:/src/common/ftp.cpp?ds=sidebyside diff --git a/src/common/ftp.cpp b/src/common/ftp.cpp index dbc0669ab5..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);