mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-02 07:30:55 -08:00
Increase size of buffer for printing bignums
This commit is contained in:
parent
f8d7f48aeb
commit
00ede2ba1f
1 changed files with 1 additions and 1 deletions
|
|
@ -572,7 +572,7 @@ static void
|
|||
write_bignum(cl_object x)
|
||||
{
|
||||
cl_fixnum str_size = mpz_sizeinbase(x->big.big_num, PRINTbase);
|
||||
char str[str_size]; /* __GNUC__ */
|
||||
char str[str_size+2]; /* __GNUC__ */
|
||||
char *s = str;
|
||||
mpz_get_str(str, PRINTbase, x->big.big_num);
|
||||
while (*s)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue