]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
typecast the conversion from long to int to prevent picky compiler warnings
authorDaniel Stenberg <daniel@haxx.se>
Sun, 4 Jul 2004 21:35:12 +0000 (21:35 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Sun, 4 Jul 2004 21:35:12 +0000 (21:35 +0000)
lib/ftp.c

index 7cd5864820306b5b821468f46dd66bb42bd0ecbf..6cf6fcafbfadf0286e9410e8b2faa53378fe8642 100644 (file)
--- 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);