Perform fixnum type check

This commit is contained in:
Justin Ethier 2019-02-19 13:17:33 -05:00
parent db7fd2bf81
commit 6bfff4b6ed

View file

@ -989,7 +989,7 @@
char ch_buf[5]; char ch_buf[5];
char_type c; char_type c;
int buflen, num_cp, len; int buflen, num_cp, len;
Cyc_check_int(data, count); Cyc_check_fixnum(data, count);
if (!obj_is_char(fill)) { if (!obj_is_char(fill)) {
Cyc_rt_raise2(data, \"Expected character buf received\", fill); Cyc_rt_raise2(data, \"Expected character buf received\", fill);
} }