diff src/http/ngx_http_request.c @ 1640:02a22cd5282a

64-bit time_t compatibility
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Nov 2007 14:26:36 +0000
parents 9706372f8916
children 7a9b44e35c53
line wrap: on
line diff
--- a/src/http/ngx_http_request.c
+++ b/src/http/ngx_http_request.c
@@ -2341,7 +2341,7 @@ ngx_http_lingering_close_handler(ngx_eve
         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;