diff --git a/src/vector.c b/src/vector.c index 6b1649ef..84da5297 100644 --- a/src/vector.c +++ b/src/vector.c @@ -72,7 +72,7 @@ pic_vec_vector_ref(pic_state *pic) struct pic_vector *v; int k; - pic_get_args(pic, "vi", &v, k); + pic_get_args(pic, "vi", &v, &k); return v->data[k]; }