aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-12-05 14:10:48 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-12-05 14:10:48 +0000
commit272231fb09052e97a218d9ea00db57692d59c1de (patch)
treeea9eaa8fcbbd463489490a51052d6d7572ce1539 /lib/ftp.c
parent67b4d9b232923ec2ba5bbb2f929254cf95e953db (diff)
Another Yang Tse warning cleanup raid!
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 4af0bda76..6c35ce215 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -3680,7 +3680,7 @@ CURLcode ftp_parse_url_path(struct connectdata *conn)
if(!ftp->dirs)
return CURLE_OUT_OF_MEMORY;
- ftp->dirs[0] = curl_unescape(cur_pos, slash_pos-cur_pos);
+ ftp->dirs[0] = curl_unescape(cur_pos, (int)(slash_pos-cur_pos));
if(!ftp->dirs[0]) {
free(ftp->dirs);
return CURLE_OUT_OF_MEMORY;