Small bug in src/stream/ngx_stream_proxy_module.c

itpp2012 nginx-forum at nginx.us
Mon Jun 29 13:05:10 UTC 2015


(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;
                }

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259969,259969#msg-259969



More information about the nginx mailing list