diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-05-04 11:39:22 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-05-04 11:39:22 +0000 |
commit | e7b2f1809f59a06bd6eb8d120b89b72a63d85373 (patch) | |
tree | 456e128f884209b19c9d24cf73c60be40299f9e6 /src | |
parent | fcf9bd9bd844ab33c2fb1d7bf200f124fc8c4cd9 (diff) | |
download | nginx-e7b2f1809f59a06bd6eb8d120b89b72a63d85373.tar.gz nginx-e7b2f1809f59a06bd6eb8d120b89b72a63d85373.zip |
fix building ngx_http_image_filter_module on 64-bit platforms
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_image_filter_module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/http/modules/ngx_http_image_filter_module.c b/src/http/modules/ngx_http_image_filter_module.c index a5af1ac2e..10fefc549 100644 --- 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_request_t *r) 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); |