aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/connect.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.h b/lib/connect.h
index 8d36365e5..f8c10db06 100644
--- a/lib/connect.h
+++ b/lib/connect.h
@@ -28,7 +28,7 @@ int Curl_nonblock(int socket, /* operate on this */
CURLcode Curl_connecthost(struct connectdata *conn,
Curl_addrinfo *host, /* connect to this */
- long port, /* connect to this port number */
+ int port, /* connect to this port number */
int *sockconn, /* not set if error is returned */
Curl_ipconnect **addr /* the one we used */
); /* index we used */