Mercurial > hg > nginx-quic
changeset 1412:97668157b352
fix build on amd64
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Tue, 21 Aug 2007 11:05:11 +0000 |
parents | a7beefaad711 |
children | be1e56a892d8 |
files | src/http/ngx_http_write_filter_module.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/ngx_http_write_filter_module.c +++ b/src/http/ngx_http_write_filter_module.c @@ -251,7 +251,8 @@ ngx_http_write_filter(ngx_http_request_t } else if (c->write->ready && clcf->sendfile_max_chunk - && c->sent - sent >= clcf->sendfile_max_chunk - 2 * ngx_pagesize) + && (size_t) (c->sent - sent) + >= clcf->sendfile_max_chunk - 2 * ngx_pagesize) { c->write->delayed = 1; ngx_add_timer(c->write, 1);