From 30a09783b2f912a0fbb9aa19d7374da8539f38f1 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Tue, 24 Sep 2013 20:30:00 +0100 Subject: ftp.c: Fixed compilation warning There is an implicit conversion from "unsigned long" to "long" --- lib/ftp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); -- cgit v1.2.3