mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 00:07:36 +02:00
Reduced buffer size
This commit is contained in:
parent
6f73d0d7fc
commit
537052b87e
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@
|
|||
#define Cyc_check_num_args(fnc_name, num_args, args) { \
|
||||
integer_type l = Cyc_length(args); \
|
||||
if (num_args > l.value) { \
|
||||
char buf[256]; \
|
||||
snprintf(buf, 255, "Expected %d arguments but received %d.", num_args, l.value); \
|
||||
char buf[128]; \
|
||||
snprintf(buf, 127, "Expected %d arguments but received %d.", num_args, l.value); \
|
||||
Cyc_rt_raise_msg(buf); \
|
||||
} \
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue