summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2018-01-16 11:48:38 +0300
committerIgor Sysoev <igor@sysoev.ru>2018-01-16 11:48:38 +0300
commit37a713c217d132df89dc3726c33e4e96456d4433 (patch)
treee3a94755581054f54787834778f0d772b48cea5b /src
parent0c38ff0e66908e6e80045b9bf71344830dbd9621 (diff)
downloadunit-37a713c217d132df89dc3726c33e4e96456d4433.tar.gz
unit-37a713c217d132df89dc3726c33e4e96456d4433.tar.bz2
HTTP: fixed chunked response on 32-bit platforms.
Diffstat (limited to 'src')
-rw-r--r--src/nxt_h1proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c
index e5141757..4057b082 100644
--- a/src/nxt_h1proto.c
+++ b/src/nxt_h1proto.c
@@ -790,7 +790,7 @@ nxt_h1p_request_send(nxt_task_t *task, nxt_http_request_t *r, nxt_buf_t *out)
static nxt_buf_t *
nxt_h1p_chunk_create(nxt_task_t *task, nxt_http_request_t *r, nxt_buf_t *out)
{
- size_t size;
+ nxt_off_t size;
nxt_buf_t *b, **prev, *header, *tail;
const size_t chunk_size = 2 * (sizeof("\r\n") - 1) + NXT_OFF_T_HEXLEN;