From: Michael Wallner Date: Tue, 28 Nov 2006 07:40:25 +0000 (+0000) Subject: - fix win32 build X-Git-Tag: RELEASE_1_4_0RC1~8 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=04d5fbffa287ddb16b0c20ca8ea1bc34b3a6acfc;p=m6w6%2Fext-http - fix win32 build --- diff --git a/http_send_api.c b/http_send_api.c index 9c5747c..7be1968 100644 --- a/http_send_api.c +++ b/http_send_api.c @@ -119,7 +119,7 @@ static inline void _http_send_response_data_fetch(void **buffer, const void *dat break; } case SEND_DATA: { - const char *buf = data + begin; + const char *buf = ((const char *) data) + begin; while (len > 0) { got = MIN(len, bsz); http_send_response_data_plain(buffer, buf, got);