wininet: Use the correct type for sock_namelen in FTP_Connect.
This commit is contained in:
parent
9f157e5bfa
commit
62d6b24e4c
|
@ -2433,7 +2433,7 @@ HINTERNET FTP_Connect(appinfo_t *hIC, LPCWSTR lpszServerName,
|
|||
static const WCHAR szEmpty[] = {'\0'};
|
||||
struct sockaddr_in socketAddr;
|
||||
INT nsocket = -1;
|
||||
UINT sock_namelen;
|
||||
socklen_t sock_namelen;
|
||||
BOOL bSuccess = FALSE;
|
||||
ftp_session_t *lpwfs = NULL;
|
||||
char szaddr[INET_ADDRSTRLEN];
|
||||
|
|
Loading…
Reference in New Issue