]> 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)
commit68b50f71e193e58ee117ef36f25387cbaa75edf3
tree69ae290ce40d3e7a7d9bb703d26e22df64b3e345
parent658a84f4252b65ef060b1d33b2ff0e749902978b
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