mirror of
https://github.com/nginx/nginx.git
synced 2025-06-07 09:42:39 +08: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
@ -1175,7 +1175,7 @@ ngx_close_idle_connections(ngx_cycle_t *cycle)
|
|||||||
|
|
||||||
/* THREAD: lock */
|
/* 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].close = 1;
|
||||||
c[i].read->handler(c[i].read);
|
c[i].read->handler(c[i].read);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user