aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 6c35ce215..7b177468c 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -780,7 +780,7 @@ static CURLcode ftp_state_use_port(struct connectdata *conn,
*/
struct Curl_sockaddr_storage ss;
struct addrinfo *res, *ai;
- socklen_t sslen;
+ size_t sslen;
char hbuf[NI_MAXHOST];
struct sockaddr *sa=(struct sockaddr *)&ss;
unsigned char *ap;