Mercurial > hg > nginx
changeset 6572:bc6fd7afeed6
HTTP/2: unbreak build on MSVC.
author | Valentin Bartenev <vbart@nginx.com> |
---|---|
date | Tue, 24 May 2016 21:54:32 +0300 |
parents | c3d73d75b83f |
children | 2d5d35409eba |
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 Tue May 24 21:54:32 2016 +0300 +++ b/src/http/v2/ngx_http_v2.c Tue May 24 21:54:32 2016 +0300 @@ -3544,7 +3544,7 @@ } if (r->request_body_no_buffering) { - size = len - h2scf->preread_size; + size = (size_t) len - h2scf->preread_size; } else { stream->no_flow_control = 1;