From d7f33b7e4e21c5f25cdfd9c475dcb52216c895e8 Mon Sep 17 00:00:00 2001 From: Gunter Knauf Date: Thu, 16 Jul 2009 17:39:14 +0000 Subject: added a cast to silent compiler warning with 64bit systems. --- lib/transfer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/transfer.c') diff --git a/lib/transfer.c b/lib/transfer.c index 1905c69b9..d59b3f500 100644 --- a/lib/transfer.c +++ b/lib/transfer.c @@ -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)) { -- cgit v1.2.3