From 5bb762b6e3963c4cc3a788cdeaf987608eda9c58 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Mon, 4 Nov 2013 20:59:43 -0500 Subject: [PATCH] [bugfix] crash on calling vector-ref --- src/vector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }