mirror of
https://github.com/curl/curl.git
synced 2026-07-16 00:57:21 +03:00
ftp.c: Fixed compilation warning
There is an implicit conversion from "unsigned long" to "long"
This commit is contained in:
parent
733a4419d0
commit
30a09783b2
1 changed files with 1 additions and 1 deletions
|
|
@ -4250,7 +4250,7 @@ CURLcode ftp_parse_url_path(struct connectdata *conn)
|
|||
dirlen++;
|
||||
|
||||
ftpc->dirs[0] = curl_easy_unescape(conn->data, slash_pos ? cur_pos : "/",
|
||||
slash_pos ? curlx_sztosi(dirlen) : 1,
|
||||
slash_pos ? curlx_uztosi(dirlen) : 1,
|
||||
NULL);
|
||||
if(!ftpc->dirs[0]) {
|
||||
freedirs(ftpc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue