mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-24 11:54:49 +00:00
C++ friendliness fix
This commit is contained in:
1 parent
6f84c8bbfb
commit
6440c358c1
1 file changed
+1
-1
+1
-1
@@ -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, ...) {
|
||||
|
||||
Reference in new issue
Block a user