summaryrefslogtreecommitdiff
path: root/libbio
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
commit9bbe6908eeb15650a5f065c8aea8142d1ce905ff (patch)
tree377ad14e171a0dca10ee2325d93eb225664f896c /libbio
parente68983d3805bbf857361b69b96407c2ff75b7b27 (diff)
downloadmc-9bbe6908eeb15650a5f065c8aea8142d1ce905ff.tar.gz
Compile error on reaching end of func without return.
Diffstat (limited to 'libbio')
-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:])
}