summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/gevector.c2
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);