Squashed C++ void * casting warning

This commit is contained in:
Sergey Lyubka committed 2013-10-30 23:04:35 +00:00
1 parent 853d162b55
commit 2fd7191836
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2857,7 +2857,7 @@ static void process_new_connection(struct mg_connection *conn) {
if (ebuf[0] == '\0') { if (ebuf[0] == '\0') {
handle_request(conn); 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); log_access(conn);
} }
if (ri->remote_user != NULL) { if (ri->remote_user != NULL) {
+1 -1
View File
@@ -5022,7 +5022,7 @@ static void process_new_connection(struct mg_connection *conn) {
if (ebuf[0] == '\0') { if (ebuf[0] == '\0') {
handle_request(conn); 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); log_access(conn);
} }
if (ri->remote_user != NULL) { if (ri->remote_user != NULL) {