fix build on amd64

This commit is contained in:
Igor Sysoev 2007-08-21 11:05:11 +00:00
parent 93c3755e26
commit 45d056a788

View File

@ -251,7 +251,8 @@ ngx_http_write_filter(ngx_http_request_t *r, ngx_chain_t *in)
} 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);