Small bug in src/stream/ngx_stream_proxy_module.c

Roman Arutyunyan arut at nginx.com
Tue Jun 30 10:00:06 UTC 2015


Hello,

> On 29 Jun 2015, at 16:05, itpp2012 <nginx-forum at nginx.us> wrote:
> 
> (1066) : warning C4244: '=' : conversion from 'off_t' to 'size_t', possible
> loss of data
> 
> diff line 1066:
>                if (size > (size_t) limit) {
> -                    size = limit;
> +                    size = (size_t) limit;
>                }
> 

What compiler do you have?

--
Roman Arutyunyan





More information about the nginx mailing list