diff options
author | Valentin Bartenev <vbart@nginx.com> | 2016-05-24 21:54:32 +0300 |
---|---|---|
committer | Valentin Bartenev <vbart@nginx.com> | 2016-05-24 21:54:32 +0300 |
commit | a650907c17145c5fbbb3167a224de746f9b65233 (patch) | |
tree | 538369b1a4157891a79380a4c1a8efd662997dce | |
parent | 323c6ba0b7bca5174f1f717895b5a52e5af4bd86 (diff) |
HTTP/2: unbreak build on MSVC.
-rw-r--r-- | src/http/v2/ngx_http_v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |