aboutsummaryrefslogtreecommitdiff
path: root/test/array-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/array-test.c')
-rw-r--r--test/array-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/array-test.c b/test/array-test.c
index 3eb955a..307dd9a 100644
--- a/test/array-test.c
+++ b/test/array-test.c
@@ -37,7 +37,7 @@ main(int, char **argv)
array_hdr(xs)->len = 4;
for (int i = 4; i < 69; i++) {
- array_push(&xs, i + 1);
+ array_push(xs, i + 1);
if (stdc_count_ones((unsigned)i) == 1) {
/* Integers don’t need padding. It simplifies the test */
if ((size_t)ctx.last_alloc_size