Thomas Faber : wininet: Use the correct type for sock_namelen in FTP_Connect.
Alexandre Julliard
julliard at winehq.org
Wed Jun 20 13:49:44 CDT 2012
Module: wine
Branch: master
Commit: 62d6b24e4cb5b4180b110599b5682105869406db
URL: http://source.winehq.org/git/wine.git/?a=commit;h=62d6b24e4cb5b4180b110599b5682105869406db
Author: Thomas Faber <thfabba at gmx.de>
Date: Wed Jun 20 16:31:36 2012 +0200
wininet: Use the correct type for sock_namelen in FTP_Connect.
---
dlls/wininet/ftp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wininet/ftp.c b/dlls/wininet/ftp.c
index 0c7ca12..54dd655 100644
--- a/dlls/wininet/ftp.c
+++ b/dlls/wininet/ftp.c
@@ -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];
More information about the wine-cvs
mailing list