diff options
| author | Tyge Løvset <[email protected]> | 2020-09-24 16:58:37 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-09-24 16:58:37 +0200 |
| commit | 3be928828630984f4ff2c5cf352ace1366c52341 (patch) | |
| tree | c72decd6ee5d3bcd19013eb56c816759ce908ca8 /examples/stack.c | |
| parent | bad270ce0034ffbd237bc9ac4a407b0cfe6b1088 (diff) | |
| download | STC-modified-3be928828630984f4ff2c5cf352ace1366c52341.tar.gz STC-modified-3be928828630984f4ff2c5cf352ace1366c52341.zip | |
Changed iter.get to iter.val member. Internal, but used external. Will not change again.
Diffstat (limited to 'examples/stack.c')
| -rw-r--r-- | examples/stack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stack.c b/examples/stack.c index 68519a9b..f65b9243 100644 --- a/examples/stack.c +++ b/examples/stack.c @@ -21,7 +21,7 @@ int main() { cstack_i_pop(&stack);
c_foreach (i, cstack_i, stack)
- printf(" %d", *i.get);
+ printf(" %d", *i.val);
puts("");
printf("top: %d\n", *cstack_i_top(&stack));
}
\ No newline at end of file |
