mirror of
https://github.com/curl/curl.git
synced 2025-01-18 14:04:30 +08:00
http_chunks: remove an assign + typecast
As it caused icc to complain: "pointer cast involving 64-bit pointed-to type" Closes #9179
This commit is contained in:
parent
336f7cd5af
commit
f273b59144
@ -100,7 +100,7 @@ void Curl_httpchunk_init(struct Curl_easy *data)
|
||||
CHUNKcode Curl_httpchunk_read(struct Curl_easy *data,
|
||||
char *datap,
|
||||
ssize_t datalen,
|
||||
ssize_t *wrotep,
|
||||
ssize_t *wrote,
|
||||
CURLcode *extrap)
|
||||
{
|
||||
CURLcode result = CURLE_OK;
|
||||
@ -109,7 +109,6 @@ CHUNKcode Curl_httpchunk_read(struct Curl_easy *data,
|
||||
struct SingleRequest *k = &data->req;
|
||||
size_t piece;
|
||||
curl_off_t length = (curl_off_t)datalen;
|
||||
size_t *wrote = (size_t *)wrotep;
|
||||
|
||||
*wrote = 0; /* nothing's written yet */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user