summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_list.c
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-06-28 23:52:07 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-06-28 23:52:07 +0300
commit52f79c3e531ec64ddd81e2467e0081616e71a7c8 (patch)
tree1b8692dc229dabf4e6cb41a3259c7244958907ae /src/nxt_list.c
parente4afc6ae9871d7e2cd13c81f2a7fe1535ea574c5 (diff)
downloadunit-52f79c3e531ec64ddd81e2467e0081616e71a7c8.tar.gz
unit-52f79c3e531ec64ddd81e2467e0081616e71a7c8.tar.bz2
Fixed building on Solaris broken in changeset 4077decf847b.
Diffstat (limited to '')
-rw-r--r--src/nxt_list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_list.c b/src/nxt_list.c
index 9a44ce9a..cab925cb 100644
--- a/src/nxt_list.c
+++ b/src/nxt_list.c
@@ -53,7 +53,7 @@ nxt_list_add(nxt_list_t *list)
list->last = last;
}
- elt = nxt_list_data(last) + last->nelts * list->size;
+ elt = nxt_pointer_to(nxt_list_data(last), last->nelts * list->size);
last->nelts++;
return elt;