Mercurial > hg > nginx
changeset 2795:d82d08314f78
fix building ngx_http_image_filter_module on 64-bit platforms
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 04 May 2009 11:39:22 +0000 |
parents | 92bd6afe8d9c |
children | c85101146a78 |
files | src/http/modules/ngx_http_image_filter_module.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_image_filter_module.c +++ b/src/http/modules/ngx_http_image_filter_module.c @@ -186,7 +186,7 @@ ngx_http_image_header_filter(ngx_http_re len = r->headers_out.content_length_n; - if (len != -1 && len > conf->buffer_size) { + if (len != -1 && len > (off_t) conf->buffer_size) { ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, "image filter: too big response: %O", len);