aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2009-07-16 17:39:14 +0000
committerGunter Knauf <gk@gknw.de>2009-07-16 17:39:14 +0000
commitd7f33b7e4e21c5f25cdfd9c475dcb52216c895e8 (patch)
tree41334cbb9b9645bc5bb41652fe6fa3f83da5ada7 /lib/ftp.c
parent56e6441ceb00cd78cdc45d28cff0044c8986b1ef (diff)
added a cast to silent compiler warning with 64bit systems.
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 d2a80e07f..ebd971571 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -4004,7 +4004,7 @@ CURLcode ftp_parse_url_path(struct connectdata *conn)
return CURLE_OUT_OF_MEMORY;
}
- dlen -= ftpc->file?strlen(ftpc->file):0;
+ dlen -= ftpc->file?(int)strlen(ftpc->file):0;
if((dlen == (int)strlen(ftpc->prevpath)) &&
strnequal(path, ftpc->prevpath, dlen)) {
infof(data, "Request has same path as previous transfer\n");