From a940c3ba581e55f238e02632a8b0b5d68cba1a9f Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 6 Jun 2022 20:41:10 +0200 Subject: [PATCH] -fix warning --- src/microhttpd/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 8e780811..be291e75 100644 --- 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));