aboutsummaryrefslogtreecommitdiff
path: root/test/_brk-test.h
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-16 08:19:47 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-16 08:19:47 +0200
commitf3178067bb6963aa913dfd9a024e960729056760 (patch)
treebb2d0ca04035cb497748ba17364a10c48788f844 /test/_brk-test.h
parent1781e5937a6e200e3627d482bee6ccb919444568 (diff)
Take a pointer to a pointerHEADmaster
Diffstat (limited to 'test/_brk-test.h')
-rw-r--r--test/_brk-test.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/_brk-test.h b/test/_brk-test.h
index 6e0c502..572697a 100644
--- a/test/_brk-test.h
+++ b/test/_brk-test.h
@@ -73,8 +73,8 @@ test(u8view_t sv, int id)
total += w;
if (op == U'รท')
- array_push(items, array_new(mem, char8_t, 64));
- array_extend(items[array_len(items) - 1], buf, w);
+ array_push(&items, array_new(mem, char8_t, 64));
+ array_extend(&items[array_len(items) - 1], buf, w);
}
size_t off = 0;