mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
fix building by gcc 4.x with -O2/3/s in some Linux distributions:
dereferencing type-punned pointer will break strict-aliasing rules the bug has been introduced in r3065
This commit is contained in:
parent
84ab98f31d
commit
a9d26d2e19
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ void ngx_http_empty_handler(ngx_event_t *wev);
|
|||
void ngx_http_request_empty_handler(ngx_http_request_t *r);
|
||||
|
||||
|
||||
#define ngx_http_ephemeral(r) (ngx_http_ephemeral_t *) (&r->uri_start)
|
||||
#define ngx_http_ephemeral(r) (void *) (&r->uri_start)
|
||||
|
||||
|
||||
#define NGX_HTTP_LAST 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue