From: Roman Arutyunyan Date: Thu, 2 Jul 2015 14:15:32 +0000 (+0300) Subject: Stream: fixed MSVC compilation warning. X-Git-Tag: release-1.9.3~7 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=035732696d21e83ece031d520eb780dcf036a266;p=nginx.git Stream: fixed MSVC compilation warning. Thanks to itpp2012. --- diff --git a/src/stream/ngx_stream_proxy_module.c b/src/stream/ngx_stream_proxy_module.c index ebbe02718..761e5f708 100644 --- a/src/stream/ngx_stream_proxy_module.c +++ b/src/stream/ngx_stream_proxy_module.c @@ -1063,7 +1063,7 @@ ngx_stream_proxy_process(ngx_stream_session_t *s, ngx_uint_t from_upstream, } if (size > (size_t) limit) { - size = limit; + size = (size_t) limit; } }