mirror of
https://github.com/curl/curl.git
synced 2026-07-30 12:28:04 +03:00
added a cast to silent compiler warning with 64bit systems.
This commit is contained in:
parent
56e6441ceb
commit
d7f33b7e4e
2 changed files with 2 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue