From dceb9255736c69538293ee551272cda1b03a9fd3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 23 Aug 2024 11:38:54 -0400 Subject: Bugfix for parsing ints --- repl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'repl.c') diff --git a/repl.c b/repl.c index 8ac4c7d5..a2b77a81 100644 --- a/repl.c +++ b/repl.c @@ -353,7 +353,7 @@ void eval(env_t *env, ast_t *ast, void *dest) case Int: { if (!dest) return; switch (Match(ast, Int)->bits) { - case 0: *(Int_t*)dest = Int$from_text(Match(ast, Int)->str); break; + case 0: *(Int_t*)dest = Int$from_text(Match(ast, Int)->str, NULL); break; case 64: *(int64_t*)dest = Int64$from_text(Match(ast, Int)->str, NULL); break; case 32: *(int32_t*)dest = Int32$from_text(Match(ast, Int)->str, NULL); break; case 16: *(int16_t*)dest = Int16$from_text(Match(ast, Int)->str, NULL); break; -- cgit v1.2.3