From 06e98187cc5cb407b44debbebb804cb214221f1a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 31 Dec 2022 03:11:32 +0100 Subject: Fix example --- examples/gevector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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); -- cgit v1.2.3