mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
fix building ngx_http_image_filter_module on 64-bit platforms
This commit is contained in:
parent
fcf9bd9bd8
commit
e7b2f1809f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue