summaryrefslogtreecommitdiff
path: root/libbio/puti.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-06 18:13:50 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-06 18:13:50 -0700
commitccee477034a0a63df7a5864b375a243f8e4f246a (patch)
tree377ad14e171a0dca10ee2325d93eb225664f896c /libbio/puti.myr
parent685513dd421ded344ae4a4e2c498928fbdbb00aa (diff)
downloadmc-ccee477034a0a63df7a5864b375a243f8e4f246a.tar.gz
Compile error on reaching end of func without return.
Diffstat (limited to 'libbio/puti.myr')
-rw-r--r--libbio/puti.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbio/puti.myr b/libbio/puti.myr
index efb79c2..16f014a 100644
--- a/libbio/puti.myr
+++ b/libbio/puti.myr
@@ -40,7 +40,7 @@ const putle = {f, v, n
buf[5] = (v >> 40) & 0xff castto(byte)
buf[6] = (v >> 48) & 0xff castto(byte)
buf[7] = (v >> 56) & 0xff castto(byte)
- write(f, buf[:n])
+ -> write(f, buf[:n])
}
const putbe = {f, v, n
@@ -57,6 +57,6 @@ const putbe = {f, v, n
buf[5] = (v >> 16) & 0xff castto(byte)
buf[6] = (v >> 8) & 0xff castto(byte)
buf[7] = (v >> 0) & 0xff castto(byte)
- write(f, buf[8-n:])
+ -> write(f, buf[8-n:])
}