summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/nxt_clang.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_clang.h b/src/nxt_clang.h
index 919d9168..f465d562 100644
--- a/src/nxt_clang.h
+++ b/src/nxt_clang.h
@@ -256,7 +256,7 @@ nxt_popcount(unsigned int x)
#define nxt_length(s) \
- (sizeof(s) - 1)
+ (nxt_sizeof_array(s) - 1)
#endif /* _NXT_CLANG_H_INCLUDED_ */