added a cast to silent compiler warning with 64bit systems.
This commit is contained in:
parent
56e6441ceb
commit
d7f33b7e4e
@ -4004,7 +4004,7 @@ CURLcode ftp_parse_url_path(struct connectdata *conn)
|
|||||||
return CURLE_OUT_OF_MEMORY;
|
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)) &&
|
if((dlen == (int)strlen(ftpc->prevpath)) &&
|
||||||
strnequal(path, ftpc->prevpath, dlen)) {
|
strnequal(path, ftpc->prevpath, dlen)) {
|
||||||
infof(data, "Request has same path as previous transfer\n");
|
infof(data, "Request has same path as previous transfer\n");
|
||||||
|
@ -244,7 +244,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp)
|
|||||||
data->req.upload_done = TRUE;
|
data->req.upload_done = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
nread+=strlen(endofline_native); /* for the added end of line */
|
nread+=(int)strlen(endofline_native); /* for the added end of line */
|
||||||
}
|
}
|
||||||
#ifdef CURL_DOES_CONVERSIONS
|
#ifdef CURL_DOES_CONVERSIONS
|
||||||
else if((data->set.prefer_ascii) && (!sending_http_headers)) {
|
else if((data->set.prefer_ascii) && (!sending_http_headers)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user