summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_list.h')
-rw-r--r--src/nxt_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_list.h b/src/nxt_list.h
index 39ad2742..3bb2b139 100644
--- a/src/nxt_list.h
+++ b/src/nxt_list.h
@@ -43,7 +43,7 @@ nxt_list_part(list) \
#define \
nxt_list_data(part) \
- ((char *) (part) + sizeof(nxt_list_part_t))
+ nxt_pointer_to(part, sizeof(nxt_list_part_t))
#define \