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

64-bit time_t compatibility
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Nov 2007 14:26:36 +0000
parents 227152b66458
children f62751dab60d 6175f886ddfb
line wrap: on
line diff
--- a/src/http/ngx_http_request_body.c
+++ b/src/http/ngx_http_request_body.c
@@ -493,7 +493,7 @@ ngx_http_read_discarded_request_body_han
     }
 
     if (r->lingering_time) {
-        timer = r->lingering_time - ngx_time();
+        timer = (ngx_msec_t) (r->lingering_time - ngx_time());
 
         if (timer <= 0) {
             r->discard_body = 0;