diff options
Diffstat (limited to 'src/runner/runner.c')
-rw-r--r-- | src/runner/runner.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runner/runner.c b/src/runner/runner.c index 2c38f74..bc15a90 100644 --- a/src/runner/runner.c +++ b/src/runner/runner.c @@ -163,7 +163,7 @@ AstTree *runExpression(AstTree *expr, bool *shouldRet) { case AST_TREE_TOKEN_KEYWORD_PRINT_U64: { AstTreeSingleChild *metadata = expr->metadata; AstTree *tree = runExpression(metadata, shouldRet); - printf("%lu", (AstTreeInt)tree->metadata); + printf("%lu", *(AstTreeInt *)tree->metadata); astTreeDelete(tree); return &AST_TREE_VOID_VALUE; } |