Mercurial > hg > nginx
changeset 6265:954b67727af3
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).
author | Kouhei Sutou <kou@cozmixng.org> |
---|---|
date | Sat, 17 Oct 2015 21:41:02 +0900 |
parents | 7ac57369036c |
children | dceb078b1156 |
files | src/core/ngx_connection.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/core/ngx_connection.c Mon Oct 19 23:04:49 2015 +0300 +++ b/src/core/ngx_connection.c Sat Oct 17 21:41:02 2015 +0900 @@ -1175,7 +1175,7 @@ /* 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); }