Mercurial > hg > nginx
comparison src/os/unix/ngx_solaris_sendfilev_chain.c @ 1619:e2ab812358bd stable-0.5
r1355, r1471, r1600 merge:
make 64-bit ngx_int_t on 64-bit platforms
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 07 Nov 2007 13:54:40 +0000 |
parents | df449f4a8032 |
children | 6f6d7ea70805 |
comparison
equal
deleted
inserted
replaced
1618:fbf94b8341bf | 1619:e2ab812358bd |
---|---|
65 } | 65 } |
66 | 66 |
67 | 67 |
68 /* the maximum limit size is the maximum size_t value - the page size */ | 68 /* the maximum limit size is the maximum size_t value - the page size */ |
69 | 69 |
70 if (limit == 0 || limit > NGX_MAX_SIZE_T_VALUE - ngx_pagesize) { | 70 if (limit == 0 || limit > (off_t) (NGX_MAX_SIZE_T_VALUE - ngx_pagesize)) { |
71 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; | 71 limit = NGX_MAX_SIZE_T_VALUE - ngx_pagesize; |
72 } | 72 } |
73 | 73 |
74 | 74 |
75 send = 0; | 75 send = 0; |