mirror of
https://github.com/curl/curl.git
synced 2026-06-03 11:24:16 +03:00
typecast the conversion from long to int to prevent picky compiler warnings
This commit is contained in:
parent
90af60a6ef
commit
31c332af93
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue