summaryrefslogtreecommitdiffhomepage
path: root/examples/bits2.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bits2.c')
-rw-r--r--examples/bits2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/bits2.c b/examples/bits2.c
index 3f3085b6..0161376b 100644
--- a/examples/bits2.c
+++ b/examples/bits2.c
@@ -24,19 +24,19 @@ int main()
Bits_reset(&s2, 66);
Bits_reset(&s2, 67);
printf(" s2: ");
- c_forrange (i, Bits_size(&s2))
+ c_forloop (i, Bits_size(&s2))
printf("%d", Bits_test(&s2, i));
puts("");
printf("xor: ");
Bits_xor(&s1, &s2);
- c_forrange (i, Bits_size(&s1))
+ c_forloop (i, Bits_size(&s1))
printf("%d", Bits_test(&s1, i));
puts("");
printf("all: ");
Bits_set_pattern(&s1, 0x3333333333333333);
- c_forrange (i, Bits_size(&s1))
+ c_forloop (i, Bits_size(&s1))
printf("%d", Bits_test(&s1, i));
puts("");
}