]> git.kaiwu.me - nginx.git/commit
Silenced -Wcast-function-type warnings (closes #1546).
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 7 May 2018 09:54:37 +0000 (09:54 +0000)
committerSergey Kandaurov <pluknet@nginx.com>
Mon, 7 May 2018 09:54:37 +0000 (09:54 +0000)
commited41ac66a24d51820391ef207db492f026193758
treede7654699e48a8af04080e098491965a93052ead
parent87c1e1bd364699ac20376be62506ac0877ca035c
Silenced -Wcast-function-type warnings (closes #1546).

Cast to intermediate "void *" to lose compiler knowledge about the original
type and pass the warning.  This is not a real fix but rather a workaround.

Found by gcc8.
src/http/modules/ngx_http_fastcgi_module.c
src/http/modules/ngx_http_grpc_module.c
src/http/modules/ngx_http_proxy_module.c
src/http/modules/ngx_http_scgi_module.c
src/http/modules/ngx_http_uwsgi_module.c
src/http/ngx_http_script.c
src/stream/ngx_stream_script.c