Skip to content
Snippets Groups Projects
Commit 31c332af authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

typecast the conversion from long to int to prevent picky compiler warnings

parent 90af60a6
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment