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 e07326ef..cb0faf7c 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 = (u_char *) start + size; + b->mem.end = nxt_pointer_to(start, size); } |