From 1d04b14c09ee678a184c0acbd91b532110c02dd9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Thu, 15 Nov 2007 14:26:36 +0000 Subject: 64-bit time_t compatibility --- src/http/ngx_http_request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/http/ngx_http_request.c') diff --git a/src/http/ngx_http_request.c b/src/http/ngx_http_request.c index c1dc3a6b7..86f244629 100644 --- a/src/http/ngx_http_request.c +++ b/src/http/ngx_http_request.c @@ -2341,7 +2341,7 @@ ngx_http_lingering_close_handler(ngx_event_t *rev) return; } - timer = r->lingering_time - ngx_time(); + timer = (ngx_msec_t) (r->lingering_time - ngx_time()); if (timer <= 0) { ngx_http_close_request(r, 0); return; -- cgit v1.2.3