X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ef5eca7acc0a177b1d87aa6e84bc04fb998b78ee..154e1ca1814ff1987caf1d6c4e3967ca6a9548c4:/src/common/ftp.cpp?ds=inline 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);