comparison src/stream/ngx_stream_proxy_module.c @ 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
comparison
equal deleted inserted replaced
6202:6345822f0abb 6203:fdfdcad62875
1061 ngx_add_timer(src->read, delay); 1061 ngx_add_timer(src->read, delay);
1062 break; 1062 break;
1063 } 1063 }
1064 1064
1065 if (size > (size_t) limit) { 1065 if (size > (size_t) limit) {
1066 size = limit; 1066 size = (size_t) limit;
1067 } 1067 }
1068 } 1068 }
1069 1069
1070 n = src->recv(src, b->last, size); 1070 n = src->recv(src, b->last, size);
1071 1071