about summary refs log tree commit diff
path: root/examples/18.src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/18.src8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/18.src b/examples/18.src
index 17c9fee..741a460 100644
--- a/examples/18.src
+++ b/examples/18.src
@@ -8,10 +8,10 @@ let main = () => i64 {
 	(*(x+cast(*i8, 0))) = 10;
 	(*(x+cast(*i8, 1))) = 20;
 	(*(x+cast(*i8, 2))) = 40;
-	println("%p", x);
-	println("%d", *(x+cast(*i8, 0)));
-	println("%d", *(x+cast(*i8, 1)));
-	println("%d", *(x+cast(*i8, 2)));
+	printf("%p\n", x);
+	printf("%d\n", *(x+cast(*i8, 0)));
+	printf("%d\n", *(x+cast(*i8, 1)));
+	printf("%d\n", *(x+cast(*i8, 2)));
 	free(cast(*void, x));
 	return 0;
 };