[bugfix] crash on calling vector-ref

This commit is contained in:
Yuichi Nishiwaki 2013-11-04 20:59:43 -05:00
parent 01a5819706
commit 5bb762b6e3
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}