aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/unsafe
diff options
context:
space:
mode:
authorEduardo Julian2022-03-02 04:37:11 -0400
committerEduardo Julian2022-03-02 04:37:11 -0400
commitd4792368d8e63f9eb883a2cfbe9da5312b2ad557 (patch)
tree68172b6618d014307607a4866d48419957cfc340 /stdlib/source/unsafe
parent8023df0f5dae4638021fef7b8194a3d0a16b32e4 (diff)
Finishing the meta-compiler [Part 5]
Diffstat (limited to 'stdlib/source/unsafe')
-rw-r--r--stdlib/source/unsafe/lux/data/binary.lux4
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/unsafe/lux/data/binary.lux b/stdlib/source/unsafe/lux/data/binary.lux
index 91726c57a..3f542ce73 100644
--- a/stdlib/source/unsafe/lux/data/binary.lux
+++ b/stdlib/source/unsafe/lux/data/binary.lux
@@ -282,11 +282,11 @@
(and ("lux i64 =" limit (..size sample))
(loop [index 0]
(if ("lux i64 =" limit index)
+ true
(and ("lux i64 ="
(..bytes/1 index reference)
(..bytes/1 index sample))
- (again (++ index)))
- true)))))]))
+ (again (++ index))))))))]))
... TODO: Turn into a template ASAP.
(inline: .public (copy! bytes source_offset source target_offset target)