Commit 6440c358 authored by Sergey Lyubka's avatar Sergey Lyubka

C++ friendliness fix

parent 6f84c8bb
......@@ -1593,7 +1593,7 @@ static void terminate_headers(struct mg_connection *c) {
void mg_send_data(struct mg_connection *c, const void *data, int data_len) {
terminate_headers(c);
write_chunk((struct connection *) c, data, data_len);
write_chunk((struct connection *) c, (const char *) data, data_len);
}
void mg_printf_data(struct mg_connection *c, const char *fmt, ...) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment