Mercurial > hg > nginx
comparison src/http/modules/ngx_http_grpc_module.c @ 7586:4f6e315eef15
Win32: silenced -Wcast-function-type GCC warning (ticket #1865).
With MinGW-w64, building 64-bit nginx binary with GCC 8 and above
results in warning due to cast of GetProcAddress() result to ngx_wsapoll_pt,
which GCC thinks is incorrect. Added intermediate cast to "void *" to
silence the warning.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Mon, 21 Oct 2019 19:07:03 +0300 |
parents | 8981dbb12254 |
children | 6439ef81e37d |
comparison
equal
deleted
inserted
replaced
7585:746567d633ac | 7586:4f6e315eef15 |
---|