summaryrefslogtreecommitdiffhomepage
path: root/misc/examples/forfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/examples/forfilter.c')
-rw-r--r--misc/examples/forfilter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/examples/forfilter.c b/misc/examples/forfilter.c
index 280fdc9c..bd3d346d 100644
--- a/misc/examples/forfilter.c
+++ b/misc/examples/forfilter.c
@@ -65,7 +65,7 @@ void demo2(void)
c_AUTO (IVec, vector) {
puts("demo2:");
- c_FORFILTER (x, crange, crange_LITERAL(INT64_MAX)
+ c_FORFILTER (x, crange, crange_object(INT64_MAX)
, c_FLT_SKIPWHILE(x, *x.ref != 11)
&& *x.ref % 2 != 0
, c_FLT_TAKE(x, 5))