clock_t can be cast to int type

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

2
time.c
View File

@ -27,7 +27,7 @@ pic_current_jiffy(pic_state *pic)
pic_get_args(pic, "");
c = clock();
return pic_int_value(c);
return pic_int_value((int)c);
}
static pic_value