From: Michael Wallner Date: Fri, 3 Mar 2006 13:25:54 +0000 (+0000) Subject: - fix win32 build X-Git-Tag: RELEASE_1_0_0RC1~18 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=0483bc22fb773d27577aef935111fce502b2ca84;p=m6w6%2Fext-http - fix win32 build --- diff --git a/http_request_api.c b/http_request_api.c index 7927648..922f7a9 100644 --- a/http_request_api.c +++ b/http_request_api.c @@ -971,7 +971,7 @@ static size_t http_curl_read_callback(void *data, size_t len, size_t n, void *ct size_t out = MIN(len * n, request->body->size - request->body->priv); if (out) { - memcpy(data, request->body->data + request->body->priv, out); + memcpy(data, ((char *) request->body->data) + request->body->priv, out); request->body->priv += out; return out; }