[nginx] Stream: fixed MSVC compilation warning.

Roman Arutyunyan arut at nginx.com
Thu Jul 2 14:16:49 UTC 2015


details:   http://hg.nginx.org/nginx/rev/fdfdcad62875
branches:  
changeset: 6203:fdfdcad62875
user:      Roman Arutyunyan <arut at nginx.com>
date:      Thu Jul 02 17:15:32 2015 +0300
description:
Stream: fixed MSVC compilation warning.

Thanks to itpp2012.

diffstat:

 src/stream/ngx_stream_proxy_module.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 6345822f0abb -r fdfdcad62875 src/stream/ngx_stream_proxy_module.c
--- a/src/stream/ngx_stream_proxy_module.c	Thu Jun 25 12:36:52 2015 +0300
+++ b/src/stream/ngx_stream_proxy_module.c	Thu Jul 02 17:15:32 2015 +0300
@@ -1063,7 +1063,7 @@ ngx_stream_proxy_process(ngx_stream_sess
                 }
 
                 if (size > (size_t) limit) {
-                    size = limit;
+                    size = (size_t) limit;
                 }
             }
 



More information about the nginx-devel mailing list