aboutsummaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorRoland Paterson-Jones <[email protected]>2024-10-23 09:15:30 +0200
committerQuentin Carbonneaux <[email protected]>2025-03-14 09:47:05 +0100
commit0ce9966c235d92553842c33587bb3ded1d3dbaba (patch)
tree0a1b2152c3e7bbc1937d7d2f419d0cbf39acbbd9 /util.c
parent434cf5fdc4ba027f0ac04cd198658860b6fc034a (diff)
Re-use (vgrow) b->ins vector in backend xxx_abi() fn's.
Removes last re-allocation of b->ins.
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;
}