From 04d5fbffa287ddb16b0c20ca8ea1bc34b3a6acfc Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 28 Nov 2006 07:40:25 +0000 Subject: [PATCH] - fix win32 build --- http_send_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2