Solaris compatibilty.

This commit is contained in:
Igor Sysoev
2017-03-14 19:52:57 +03:00
parent 5135fcea93
commit e13cbdb439
4 changed files with 23 additions and 21 deletions

View File

@@ -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;
}