[nginx] Win32: fixed build with MinGW and MinGW-w64 gcc.
Maxim Dounin
mdounin at mdounin.ru
Mon Oct 19 20:52:46 UTC 2015
details: http://hg.nginx.org/nginx/rev/954b67727af3
branches:
changeset: 6265:954b67727af3
user: Kouhei Sutou <kou at cozmixng.org>
date: Sat Oct 17 21:41:02 2015 +0900
description:
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).
diffstat:
src/core/ngx_connection.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
--- a/src/core/ngx_connection.c
+++ b/src/core/ngx_connection.c
@@ -1175,7 +1175,7 @@ ngx_close_idle_connections(ngx_cycle_t *
/* 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);
}
More information about the nginx-devel
mailing list