diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-10-16 08:19:47 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-10-16 08:19:47 +0200 |
commit | f3178067bb6963aa913dfd9a024e960729056760 (patch) | |
tree | bb2d0ca04035cb497748ba17364a10c48788f844 /test/_norm-test.h | |
parent | 1781e5937a6e200e3627d482bee6ccb919444568 (diff) |
Diffstat (limited to 'test/_norm-test.h')
-rw-r--r-- | test/_norm-test.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/_norm-test.h b/test/_norm-test.h index 4083e1a..ef51aa9 100644 --- a/test/_norm-test.h +++ b/test/_norm-test.h @@ -70,10 +70,10 @@ test(u8view_t sv, int id) sscanf(cp.p, "%" SCNxRUNE, &ch); char8_t buf[U8_LEN_MAX]; int w = rtoucs(buf, sizeof(buf), ch); - array_extend(s, buf, w); + array_extend(&s, buf, w); } while (_ != MBEND); - array_push(columns, ((u8view_t){s, array_len(s)})); + array_push(&columns, ((u8view_t){s, array_len(s)})); } for (size_t i = 0; i < 5; i++) { |