aboutsummaryrefslogtreecommitdiff
path: root/src/ast.c
diff options
context:
space:
mode:
authorShinya Sato <shinnya.sato@gmail.com>2022-09-17 22:25:32 +0900
committerShinya Sato <shinnya.sato@gmail.com>2022-09-17 22:25:32 +0900
commitb10fccefe9a6435328ff9d554995fb5710f74f26 (patch)
tree42fd557836de39d4a32a303c40f42393906a6e4c /src/ast.c
parent6077933906dd637af93adb3714b476ccba724be1 (diff)
downloadinpla-b10fccefe9a6435328ff9d554995fb5710f74f26.tar.gz
inpla-b10fccefe9a6435328ff9d554995fb5710f74f26.zip
v0.10.0
Diffstat (limited to '')
-rw-r--r--src/ast.c2
1 files changed, 1 insertions, 1 deletions
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);