changeset 6751:696dbfb0490a stable-1.10

HTTP/2: unbreak build on MSVC.
author Valentin Bartenev <vbart@nginx.com>
date Tue, 24 May 2016 21:54:32 +0300
parents cb330cd39030
children 0708285115fa
files src/http/v2/ngx_http_v2.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/http/v2/ngx_http_v2.c
+++ b/src/http/v2/ngx_http_v2.c
@@ -3544,7 +3544,7 @@ ngx_http_v2_read_request_body(ngx_http_r
     }
 
     if (r->request_body_no_buffering) {
-        size = len - h2scf->preread_size;
+        size = (size_t) len - h2scf->preread_size;
 
     } else {
         stream->no_flow_control = 1;