diff options
author | Igor Sysoev <igor@sysoev.ru> | 2007-07-29 22:24:53 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2007-07-29 22:24:53 +0400 |
commit | 83a6851b28378863755085c85f0eb6dffcfb17a8 (patch) | |
tree | cd767d3672a78898f0b226c3e9d8d9eeaafbc1cc /src/os/unix/ngx_aio_write_chain.c | |
parent | 8889b65711cc93dfdbbd570384fe2e39391cc94e (diff) |
make 64-bit ngx_int_t on 64-bit platforms
Diffstat (limited to 'src/os/unix/ngx_aio_write_chain.c')
-rw-r--r-- | src/os/unix/ngx_aio_write_chain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_aio_write_chain.c b/src/os/unix/ngx_aio_write_chain.c index e3d663158..6a156e91b 100644 --- a/src/os/unix/ngx_aio_write_chain.c +++ b/src/os/unix/ngx_aio_write_chain.c @@ -21,7 +21,7 @@ ngx_aio_write_chain(ngx_connection_t *c, ngx_chain_t *in, off_t limit) /* the maximum limit size is the maximum size_t value - the page size */ - if (limit == 0 || limit > NGX_MAX_SIZE_T_VALUE - ngx_pagesize) { + if (limit == 0 || limit > (off_t) (NGX_MAX_SIZE_T_VALUE - ngx_pagesize)) { limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; } |