return value from pic_get_args is of int type

This commit is contained in:
Yuichi Nishiwaki 2014-09-26 15:14:30 +09:00
parent 71f67cf771
commit 4e5e3f4fae
1 changed files with 1 additions and 1 deletions

2
var.c
View File

@ -37,7 +37,7 @@ var_call(pic_state *pic)
{
struct pic_proc *self = pic_get_proc(pic);
pic_value val, tmp, box, conv;
size_t n;
int n;
n = pic_get_args(pic, "|oo", &val, &tmp);