aboutsummaryrefslogtreecommitdiff
path: root/examples/basic.odin
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-08-30 00:04:14 +0100
committerGinger Bill <bill@gingerbill.org>2016-08-30 00:04:14 +0100
commit0eaf7bd830dcda6e00f80eefed36bdf7beb02d5d (patch)
tree3e65c52384458031b5ede490429c9c1938d8ba0b /examples/basic.odin
parent593563d8eabf725ac851f4c3c72cd32b5a71aa7c (diff)
Begin "Everything's a namespace"
Diffstat (limited to 'examples/basic.odin')
-rw-r--r--examples/basic.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic.odin b/examples/basic.odin
index 42d7404c2..c9a54d15a 100644
--- a/examples/basic.odin
+++ b/examples/basic.odin
@@ -3,7 +3,7 @@
#load "file.odin"
print_string :: proc(s: string) {
- file_write(file_get_standard(FileStandard.OUTPUT), ^s[0], len(s));
+ file_write(file_get_standard(FileStandard.OUTPUT), s as []byte);
}
byte_reverse :: proc(b: []byte) {