aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index babaa58..5a0c89f 100644
--- a/util.c
+++ b/util.c
@@ -268,7 +268,7 @@ Ins *
icpy(Ins *d, Ins *s, ulong n)
{
if (n)
- memcpy(d, s, n * sizeof(Ins));
+ memmove(d, s, n * sizeof(Ins));
return d + n;
}