wininet: Use the correct type for sock_namelen in FTP_Connect.

Thomas Faber thfabba at
Wed Jun 20 09:36:58 CDT 2012

sock_namelen is passed to GetAddress, getsockname and connect,
all of which expect socklen_t.
This fixes warnings on systems where socklen_t isn't unsigned int
(such as Windows, where it's int).
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-wininet-Use-the-correct-type-for-sock_namelen-in-FTP.patch
URL: <>

More information about the wine-patches mailing list