Klaus Demo nginx / a19c7b5
fix building on 64-bit platforms, introduced in r2232 Igor Sysoev 12 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
330330
331331 if (size == 0) {
332332
333 if (bsize >= ctx->bufs.size) {
333 if (bsize >= (off_t) ctx->bufs.size) {
334334 return NGX_DECLINED;
335335 }
336336
339339 } else {
340340 size = 512 - size;
341341
342 if (size > bsize) {
342 if ((off_t) size > bsize) {
343343 size = (size_t) bsize;
344344 }
345345 }