mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-16 17:27:33 +02:00
Perform fixnum type check
This commit is contained in:
parent
db7fd2bf81
commit
6bfff4b6ed
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue