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 6cf6fcafb..88c9753a7 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1330,7 +1330,7 @@ CURLcode ftp_use_port(struct connectdata *conn)
if (addr || sa_filled_in) {
portsock = socket(AF_INET, SOCK_STREAM, 0);
if(CURL_SOCKET_BAD != portsock) {
- int size;
+ socklen_t size;
/* we set the secondary socket variable to this for now, it
is only so that the cleanup function will close it in case