aboutsummaryrefslogtreecommitdiff
path: root/src/hashtab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hashtab.c')
-rw-r--r--src/hashtab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hashtab.c b/src/hashtab.c
index 8e2a6dc337..2d9dcfe6ff 100644
--- a/src/hashtab.c
+++ b/src/hashtab.c
@@ -337,7 +337,7 @@ static int hash_may_resize(hashtab_T *ht, int minitems)
// Moving from ht_smallarray to ht_smallarray! Happens when there
// are many removed items. Copy the items to be able to clean up
// removed items.
- mch_memmove(temparray, newarray, sizeof(temparray));
+ memmove(temparray, newarray, sizeof(temparray));
oldarray = temparray;
} else {
oldarray = ht->ht_array;