commit a940c3ba581e55f238e02632a8b0b5d68cba1a9f
parent 8d5ebaec91133120088d829cfb58c02e869ccd8b
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 6 Jun 2022 20:41:10 +0200
-fix warning
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
@@ -1067,7 +1067,7 @@ try_ready_normal_body (struct MHD_Connection *connection)
ret = response->crc (response->crc_cls,
connection->response_write_position,
- response->data,
+ (char *) response->data,
(size_t) MHD_MIN ((uint64_t) response->data_buffer_size,
response->total_size
- connection->response_write_position));