aboutsummaryrefslogtreecommitdiffstats
path: root/examples/string/test_small.c
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2024-06-12 21:41:35 -0400
committerGravatar Peter McGoron 2024-06-12 21:41:35 -0400
commit503b08caadb9be5b54d8542ad57973612d061cfc (patch)
tree4d1d5ebef0f2e11dfa2532d6788f186a20c42697 /examples/string/test_small.c
parentstrings: add more tests (diff)
change uns_root_ptr to uns_ctr
Diffstat (limited to 'examples/string/test_small.c')
-rw-r--r--examples/string/test_small.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/string/test_small.c b/examples/string/test_small.c
index 08b2ed2..458c318 100644
--- a/examples/string/test_small.c
+++ b/examples/string/test_small.c
@@ -29,7 +29,7 @@
int test(struct uns_gc *gc)
{
- struct uns_root_list r = {0};
+ struct uns_ctr r = {0};
const char s[] = "hello, world";
uns_string_alloc(gc, &r, 32);