mirror of
https://github.com/nginx/nginx.git
synced 2026-10-23 20:44:41 +00:00
Win32: fixed build with MinGW and MinGW-w64 gcc.
This change fixes the "comparison between signed and unsigned integer expressions" warning, introduced in 5e6142609e48 (1.9.4).
This commit is contained in:
parent
582911c9c2
commit
67614b3aa3
1 changed files with 1 additions and 1 deletions
|
|
@ -1175,7 +1175,7 @@ ngx_close_idle_connections(ngx_cycle_t *cycle)
|
|||
|
||||
/* THREAD: lock */
|
||||
|
||||
if (c[i].fd != -1 && c[i].idle) {
|
||||
if (c[i].fd != (ngx_socket_t) -1 && c[i].idle) {
|
||||
c[i].close = 1;
|
||||
c[i].read->handler(c[i].read);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue