added a cast to silent compiler warning with 64bit systems.

This commit is contained in:
Gunter Knauf
2009-07-16 17:39:14 +00:00
parent 56e6441ceb
commit d7f33b7e4e
2 changed files with 2 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ CURLcode Curl_fillreadbuffer(struct connectdata *conn, int bytes, int *nreadp)
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
else if((data->set.prefer_ascii) && (!sending_http_headers)) {