Mercurial > hg > nginx
comparison src/core/ngx_connection.c @ 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 | 5e6142609e48 |
children | 8f038068f4bc |
comparison
equal
deleted
inserted
replaced
6264:7ac57369036c | 6265:954b67727af3 |
---|---|
1173 | 1173 |
1174 for (i = 0; i < cycle->connection_n; i++) { | 1174 for (i = 0; i < cycle->connection_n; i++) { |
1175 | 1175 |
1176 /* THREAD: lock */ | 1176 /* THREAD: lock */ |
1177 | 1177 |
1178 if (c[i].fd != -1 && c[i].idle) { | 1178 if (c[i].fd != (ngx_socket_t) -1 && c[i].idle) { |
1179 c[i].close = 1; | 1179 c[i].close = 1; |
1180 c[i].read->handler(c[i].read); | 1180 c[i].read->handler(c[i].read); |
1181 } | 1181 } |
1182 } | 1182 } |
1183 } | 1183 } |