diff options
Diffstat (limited to '')
-rw-r--r-- | src/nxt_buf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_buf.c b/src/nxt_buf.c index d2b6fe7a..cee1392e 100644 --- a/src/nxt_buf.c +++ b/src/nxt_buf.c @@ -18,7 +18,7 @@ nxt_buf_mem_init(nxt_buf_t *b, void *start, size_t size) b->mem.start = start; b->mem.pos = start; b->mem.free = start; - b->mem.end = start + size; + b->mem.end = (u_char *) start + size; } |