diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-09-24 20:30:00 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-09-25 07:09:41 +0100 |
commit | 30a09783b2f912a0fbb9aa19d7374da8539f38f1 (patch) | |
tree | e5d5b2c1c3f3fb4e114b013a90fac69a4f33d1f4 | |
parent | 733a4419d0b519e54e74cc6187580138bfae3db7 (diff) |
ftp.c: Fixed compilation warning
There is an implicit conversion from "unsigned long" to "long"
-rw-r--r-- | lib/ftp.c | 2 |
1 files changed, 1 insertions, 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); |