aboutsummaryrefslogtreecommitdiff
path: root/src/runner
diff options
context:
space:
mode:
authorA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-23 02:20:04 +0330
committerA404M <ahmadmahmoudiprogrammer@gmail.com>2025-05-23 02:20:04 +0330
commit368d75dbd68f0f0e204d1d2575f8e7c6fbe9b49d (patch)
tree77a22c823d3621ce1719a6a720ccb3b1c8a01b8c /src/runner
parent948ab739464733f4e7690488db8a3491f0e3b5e2 (diff)
fix style
Diffstat (limited to 'src/runner')
-rw-r--r--src/runner/runner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runner/runner.c b/src/runner/runner.c
index f1e8afa..24e8e3b 100644
--- a/src/runner/runner.c
+++ b/src/runner/runner.c
@@ -922,7 +922,7 @@ AstTree *runAstTreeBuiltin(AstTree *tree, AstTreeScope *scope,
return ret;
}
case AST_TREE_TOKEN_BUILTIN_PUTC: {
- putchar((u8) * (AstTreeInt *)arguments[0]->metadata);
+ putchar(*(u8*)arguments[0]->metadata);
return copyAstTree(&AST_TREE_VOID_VALUE);
}
case AST_TREE_TOKEN_BUILTIN_IMPORT: