fix building ngx_http_image_filter_module on 64-bit platforms
This commit is contained in:
parent
7e6d4179f0
commit
4ae910a756
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;
|
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,
|
ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
|
||||||
"image filter: too big response: %O", len);
|
"image filter: too big response: %O", len);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue