Commit 2fd71918 authored by Sergey Lyubka's avatar Sergey Lyubka

Squashed C++ void * casting warning

parent 853d162b
......@@ -2857,7 +2857,7 @@ static void process_new_connection(struct mg_connection *conn) {
if (ebuf[0] == '\0') {
handle_request(conn);
call_user(MG_REQUEST_END, conn, (void *) conn->status_code);
call_user(MG_REQUEST_END, conn, (void *) (int *) conn->status_code);
log_access(conn);
}
if (ri->remote_user != NULL) {
......
......@@ -5022,7 +5022,7 @@ static void process_new_connection(struct mg_connection *conn) {
if (ebuf[0] == '\0') {
handle_request(conn);
call_user(MG_REQUEST_END, conn, (void *) conn->status_code);
call_user(MG_REQUEST_END, conn, (void *) (int *) conn->status_code);
log_access(conn);
}
if (ri->remote_user != NULL) {
......
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