diff options
author | Thomas Voss <mail@thomasvoss.com> | 2022-12-31 03:11:32 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2022-12-31 03:11:32 +0100 |
commit | 06e98187cc5cb407b44debbebb804cb214221f1a (patch) | |
tree | cfb7eee40601802bb9f6c4cf7f9a2d300105d386 /examples/gevector.c | |
parent | 52118baecb0b6e580814db69e52a02c233c633df (diff) |
Fix example
Diffstat (limited to 'examples/gevector.c')
-rw-r--r-- | examples/gevector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gevector.c b/examples/gevector.c index 93a1960..2af91e2 100644 --- a/examples/gevector.c +++ b/examples/gevector.c @@ -17,7 +17,7 @@ main(void) ivec_insert(vec, 1337, 2); for (size_t i = 0; i < vec->len; i++) - printf("%d\n", ivec_get(vec, i)); + printf("%d\n", vec->data[i]); ivec_free(vec); free(vec); |