summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/arc_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/arc_demo.c')
-rw-r--r--misc/examples/arc_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/arc_demo.c b/misc/examples/arc_demo.c
index 88555177..2339adbb 100644
--- a/misc/examples/arc_demo.c
+++ b/misc/examples/arc_demo.c
@@ -25,7 +25,7 @@ int main()
const int years[] = {2021, 2012, 2022, 2015};
cvec_Arc vec = {0};
- c_forrange (i, c_ARRAYLEN(years))
+ c_forrange (i, c_arraylen(years))
cvec_Arc_push(&vec, Arc_from(years[i]));
printf("vec:");