summaryrefslogtreecommitdiff
path: root/lib/std/slcp.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-05-17 22:00:50 -0700
committerOri Bernstein <ori@eigenstate.org>2016-05-17 22:00:50 -0700
commit7aac15b2bfcc5eec279aa14f9f199685f9d7e0d9 (patch)
treec9434a55ea6850aee7103f608c6333cfe3148d60 /lib/std/slcp.myr
parentc96238b89583ed91e92ad909c507797d00015e95 (diff)
downloadmc-7aac15b2bfcc5eec279aa14f9f199685f9d7e0d9.tar.gz
New syntax for casts.
Diffstat (limited to 'lib/std/slcp.myr')
-rw-r--r--lib/std/slcp.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/slcp.myr b/lib/std/slcp.myr
index 182e5dc..b523658 100644
--- a/lib/std/slcp.myr
+++ b/lib/std/slcp.myr
@@ -8,5 +8,5 @@ pkg std =
generic slcp = {a : @a[:], b : @a[:]
iassert(a.len == b.len, "arguments to slcp() must be of equal length\n")
- memblit(a castto(byte#), b castto(byte#), a.len * sizeof(@a))
+ memblit((a : byte#), (b : byte#), a.len * sizeof(@a))
}