aboutsummaryrefslogtreecommitdiff
path: root/src/http/ngx_http_request.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/ngx_http_request.c')
-rw-r--r--src/http/ngx_http_request.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c
index 6b2a4435e..a2a0feda6 100644
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -97,7 +97,7 @@ void ngx_http_init_connection(ngx_connection_t *c)
return;
}
- rev->next = ngx_posted_events;
+ rev->next = (ngx_event_t *) ngx_posted_events;
ngx_posted_events = rev;
ngx_mutex_unlock(ngx_posted_events_mutex);