aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-07-04 21:35:12 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-07-04 21:35:12 +0000
commit31c332af930897a275efba316a85abc6a4a0b91b (patch)
tree6c83df56aae91e0eaa9c82eeb08d2bef92493538 /lib/ftp.c
parent90af60a6ef0e04d9aef4c3335cb0fcd7435dd19c (diff)
typecast the conversion from long to int to prevent picky compiler warnings
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 7cd586482..6cf6fcafb 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -1561,7 +1561,7 @@ CURLcode ftp_use_pasv(struct connectdata *conn,
* We don't want to rely on a former host lookup that might've expired
* now, instead we remake the lookup here and now!
*/
- rc = Curl_resolv(conn, conn->proxy.name, conn->port, &addr);
+ rc = Curl_resolv(conn, conn->proxy.name, (int)conn->port, &addr);
if(rc == CURLRESOLV_PENDING)
rc = Curl_wait_for_resolv(conn, &addr);