mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
Use memmove instead of mch_memmove
This commit is contained in:

committed by
Thiago de Arruda

parent
dbc904956a
commit
07dad7acf3
@@ -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;
|
||||
|
Reference in New Issue
Block a user