summaryrefslogtreecommitdiff
path: root/lib/std/memops-impl.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/memops-impl.myr')
-rw-r--r--lib/std/memops-impl.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/memops-impl.myr b/lib/std/memops-impl.myr
index 043edf7..7a84945 100644
--- a/lib/std/memops-impl.myr
+++ b/lib/std/memops-impl.myr
@@ -10,8 +10,8 @@ const memblit = {dst, src, len
var sa, da
var s, d
- da = dst castto(intptr)
- sa = src castto(intptr)
+ da = (dst : intptr)
+ sa = (src : intptr)
d = dst[:len]
s = src[:len]