mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
fix building ngx_http_image_filter_module on 64-bit platforms
This commit is contained in:
parent
fcf9bd9bd8
commit
e7b2f1809f
@ -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…
Reference in New Issue
Block a user