From 0ce9966c235d92553842c33587bb3ded1d3dbaba Mon Sep 17 00:00:00 2001 From: Roland Paterson-Jones Date: Wed, 23 Oct 2024 09:15:30 +0200 Subject: Re-use (vgrow) b->ins vector in backend xxx_abi() fn's. Removes last re-allocation of b->ins. --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util.c') 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; } -- cgit v1.2.3