summaryrefslogtreecommitdiffhomepage
path: root/src/nginext/nxt_go_array.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nginext/nxt_go_array.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nginext/nxt_go_array.h b/src/nginext/nxt_go_array.h
index 0c3ba336..d96db663 100644
--- a/src/nginext/nxt_go_array.h
+++ b/src/nginext/nxt_go_array.h
@@ -30,7 +30,7 @@ nxt_go_array_zero_add(nxt_array_t *array)
#define \
nxt_go_array_at(array, n) \
- ((void *) ((char *) (array)->elts + (array)->size * (n)))
+ nxt_pointer_to((array)->elts, (array)->size * (n))
#endif /* _NXT_GO_ARRAY_H_INCLUDED_ */