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:
Kouhei Sutou 2015-10-17 21:41:02 +09:00
parent 582911c9c2
commit 67614b3aa3

View File

@ -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);
} }