From b10fccefe9a6435328ff9d554995fb5710f74f26 Mon Sep 17 00:00:00 2001 From: Shinya Sato Date: Sat, 17 Sep 2022 22:25:32 +0900 Subject: v0.10.0 --- src/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast.c') diff --git a/src/ast.c b/src/ast.c index 70b2d09..ca020f1 100644 --- a/src/ast.c +++ b/src/ast.c @@ -280,7 +280,7 @@ void ast_puts(Ast *p) { switch(p->id) { case AST_INT: - printf("int %d", p->intval); + printf("int %ld", p->longval); break; case AST_SYM: printf("%s", p->sym); -- cgit v1.2.3