From 6723ea46c2a2038ede4f7433a73b05d16ac5e8ce Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 11 Sep 2024 15:03:39 -0400 Subject: [PATCH] Bugfix big int literals --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index 2c69736..2f72fc5 100644 --- a/compile.c +++ b/compile.c @@ -1762,7 +1762,7 @@ CORD compile(env_t *env, ast_t *ast) } else if (mpz_cmp_si(i, INT64_MAX) <= 0 && mpz_cmp_si(i, INT64_MIN) >= 0) { return CORD_asprintf("Int64_to_Int(%s)", str); } else { - return CORD_asprintf("Int$from_str(\"%s\", NULL)", str); + return CORD_asprintf("Int$from_str(\"%s\")", str); } case IBITS64: if ((mpz_cmp_si(i, INT64_MAX) < 0) && (mpz_cmp_si(i, INT64_MIN) > 0))