From: Valentin Bartenev Date: Tue, 24 May 2016 18:54:32 +0000 (+0300) Subject: HTTP/2: unbreak build on MSVC. X-Git-Tag: release-1.11.1~3 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=b6e423b7c0360cfd4b37431773cc8311129e1e4d;p=nginx.git HTTP/2: unbreak build on MSVC. --- diff --git a/src/http/v2/ngx_http_v2.c b/src/http/v2/ngx_http_v2.c index cd0243cfc..208f0f325 100644 --- 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_request_t *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;