diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/nginx.h | 2 | ||||
-rw-r--r-- | src/core/ngx_output_chain.c | 4 | ||||
-rw-r--r-- | src/http/modules/perl/nginx.pm | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/core/nginx.h b/src/core/nginx.h index 61d2e47b1..1111e6ccc 100644 --- a/src/core/nginx.h +++ b/src/core/nginx.h @@ -8,7 +8,7 @@ #define _NGINX_H_INCLUDED_ -#define NGINX_VERSION "0.7.15" +#define NGINX_VERSION "0.7.16" #define NGINX_VER "nginx/" NGINX_VERSION #define NGINX_VAR "NGINX" diff --git a/src/core/ngx_output_chain.c b/src/core/ngx_output_chain.c index e0f615e5b..3d5ae1db5 100644 --- a/src/core/ngx_output_chain.c +++ b/src/core/ngx_output_chain.c @@ -331,7 +331,7 @@ ngx_output_chain_align_file_buf(ngx_output_chain_ctx_t *ctx, off_t bsize) if (size == 0) { - if (bsize >= ctx->bufs.size) { + if (bsize >= (off_t) ctx->bufs.size) { return NGX_DECLINED; } @@ -340,7 +340,7 @@ ngx_output_chain_align_file_buf(ngx_output_chain_ctx_t *ctx, off_t bsize) } else { size = 512 - size; - if (size > bsize) { + if ((off_t) size > bsize) { size = (size_t) bsize; } } diff --git a/src/http/modules/perl/nginx.pm b/src/http/modules/perl/nginx.pm index fc1782abc..d7c0bdfe5 100644 --- a/src/http/modules/perl/nginx.pm +++ b/src/http/modules/perl/nginx.pm @@ -47,7 +47,7 @@ our @EXPORT = qw( HTTP_INSUFFICIENT_STORAGE ); -our $VERSION = '0.7.15'; +our $VERSION = '0.7.16'; require XSLoader; XSLoader::load('nginx', $VERSION); |