return value from pic_get_args is of int type
This commit is contained in:
parent
71f67cf771
commit
4e5e3f4fae
2
var.c
2
var.c
|
@ -37,7 +37,7 @@ var_call(pic_state *pic)
|
||||||
{
|
{
|
||||||
struct pic_proc *self = pic_get_proc(pic);
|
struct pic_proc *self = pic_get_proc(pic);
|
||||||
pic_value val, tmp, box, conv;
|
pic_value val, tmp, box, conv;
|
||||||
size_t n;
|
int n;
|
||||||
|
|
||||||
n = pic_get_args(pic, "|oo", &val, &tmp);
|
n = pic_get_args(pic, "|oo", &val, &tmp);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue