summaryrefslogtreecommitdiffhomepage
path: root/examples/stack.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/stack.c')
-rw-r--r--examples/stack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/stack.c b/examples/stack.c
index 1991e269..5507c764 100644
--- a/examples/stack.c
+++ b/examples/stack.c
@@ -14,12 +14,12 @@ int main() {
c_auto (cstack_i, stack)
c_auto (cstack_c, chars)
{
- c_forrange (i, int, 101)
+ c_forrange (int, i, 101)
cstack_i_push(&stack, i*i);
printf("%d\n", *cstack_i_top(&stack));
- c_forrange (i, int, 90)
+ c_forrange (int, i, 90)
cstack_i_pop(&stack);
c_foreach (i, cstack_i, stack)