changeset 6203:fdfdcad62875

Stream: fixed MSVC compilation warning. Thanks to itpp2012.
author Roman Arutyunyan <arut@nginx.com>
date Thu, 02 Jul 2015 17:15:32 +0300
parents 6345822f0abb
children 114d1f8cdcab
files src/stream/ngx_stream_proxy_module.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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_sess
                 }
 
                 if (size > (size_t) limit) {
-                    size = limit;
+                    size = (size_t) limit;
                 }
             }