aboutsummaryrefslogtreecommitdiff
path: root/src/stream/ngx_stream_proxy_module.c
diff options
context:
space:
mode:
authorRoman Arutyunyan <arut@nginx.com>2015-07-02 17:15:32 +0300
committerRoman Arutyunyan <arut@nginx.com>2015-07-02 17:15:32 +0300
commit035732696d21e83ece031d520eb780dcf036a266 (patch)
tree003f45125cc7543394b7fa9a563313cba0ade774 /src/stream/ngx_stream_proxy_module.c
parentf81ae4e39234526d259d6ecdd62a09cad6f7adce (diff)
downloadnginx-035732696d21e83ece031d520eb780dcf036a266.tar.gz
nginx-035732696d21e83ece031d520eb780dcf036a266.zip
Stream: fixed MSVC compilation warning.
Thanks to itpp2012.
Diffstat (limited to 'src/stream/ngx_stream_proxy_module.c')
-rw-r--r--src/stream/ngx_stream_proxy_module.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}