aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-09-24 20:30:00 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-09-25 07:09:41 +0100
commit30a09783b2f912a0fbb9aa19d7374da8539f38f1 (patch)
treee5d5b2c1c3f3fb4e114b013a90fac69a4f33d1f4
parent733a4419d0b519e54e74cc6187580138bfae3db7 (diff)
ftp.c: Fixed compilation warning
There is an implicit conversion from "unsigned long" to "long"
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 106b97201..e818af6c5 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -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);