From: Michael Wallner Date: Fri, 24 Nov 2006 14:23:45 +0000 (+0000) Subject: - attempt to fix win32 build X-Git-Tag: RELEASE_1_4_0RC1~9 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=1d04e52e7a5fc759c906d17d3547e74df06c2131;p=m6w6%2Fext-http - attempt to fix win32 build --- diff --git a/http_send_api.c b/http_send_api.c index ed92028..9c5747c 100644 --- a/http_send_api.c +++ b/http_send_api.c @@ -54,7 +54,7 @@ static inline void _http_send_response_start(void **buffer, size_t content_lengt if ((encoding = http_encoding_response_start(content_length, 0))) { #ifdef HTTP_HAVE_ZLIB - *buffer = http_encoding_deflate_stream_init(NULL, + *((http_encoding_stream **) buffer) = http_encoding_deflate_stream_init(NULL, (encoding == HTTP_ENCODING_GZIP) ? HTTP_DEFLATE_TYPE_GZIP : HTTP_DEFLATE_TYPE_ZLIB); #endif