summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_buf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nxt_buf.h')
-rw-r--r--src/nxt_buf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_buf.h b/src/nxt_buf.h
index a561ef4e..2f2cbaa6 100644
--- a/src/nxt_buf.h
+++ b/src/nxt_buf.h
@@ -189,7 +189,7 @@ struct nxt_buf_s {
#define nxt_buf_mem_set_size(bm, size) \
do { \
- (bm)->start = 0; \
+ (bm)->start = NULL; \
(bm)->end = (void *) size; \
} while (0)