mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-17 10:49:47 +00:00
Squashed C++ void * casting warning
This commit is contained in:
1 parent
853d162b55
commit
2fd7191836
2 files changed
+2
-2
No files matched your search
@@ -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) {
|
||||
|
||||
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user