summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_buf.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-03-14 19:52:57 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-03-14 19:52:57 +0300
commite13cbdb439b801685708231b18bca6181d8c4592 (patch)
tree25898235ef3b6977460e78d592f4569887b89fe1 /src/nxt_buf.c
parent5135fcea930985dab45085033c5aae54c6ad1a65 (diff)
downloadunit-e13cbdb439b801685708231b18bca6181d8c4592.tar.gz
unit-e13cbdb439b801685708231b18bca6181d8c4592.tar.bz2
Solaris compatibilty.
Diffstat (limited to 'src/nxt_buf.c')
-rw-r--r--src/nxt_buf.c2
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;
}