diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/unsafe/lux/data/binary.lux | 4 |
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) |