wininet: Use the correct type for sock_namelen in FTP_Connect.

This commit is contained in:
Thomas Faber 2012-06-20 16:31:36 +02:00 committed by Alexandre Julliard
parent 9f157e5bfa
commit 62d6b24e4c
1 changed files with 1 additions and 1 deletions

View File

@ -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];