# HG changeset patch # User Valentin Bartenev # Date 1464116072 -10800 # Node ID 696dbfb0490a5d328e0f2c4aef73121545468c1b # Parent cb330cd390301a0f822e40f46a38706145d66bc3 HTTP/2: unbreak build on MSVC. diff -r cb330cd39030 -r 696dbfb0490a src/http/v2/ngx_http_v2.c --- a/src/http/v2/ngx_http_v2.c Tue May 24 17:37:52 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;