about summary refs log tree commit diff
path: root/examples/5.src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/5.src')
-rw-r--r--examples/5.src6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/5.src b/examples/5.src
index 7f4f38f..7c767ea 100644
--- a/examples/5.src
+++ b/examples/5.src
@@ -4,14 +4,14 @@ let x = 18;
 
 let foo = () => i64 {
 	let x = 1;
-	print(x);
+	printf("%d", x);
 	return x;
 };
 
 let main = () => i64 {
-	print(x);
+	printf("%d", x);
 	let x = 2;
 	let y = foo();
-	print(x);
+	printf("%d", x);
 	return x + y;
 };