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

committed by
Thiago de Arruda

parent
dbc904956a
commit
07dad7acf3
@@ -126,7 +126,7 @@ void ga_concat(garray_T *gap, char_u *s)
|
||||
{
|
||||
int len = (int)STRLEN(s);
|
||||
if (ga_grow(gap, len) == OK) {
|
||||
mch_memmove((char *)gap->ga_data + gap->ga_len, s, (size_t)len);
|
||||
memmove((char *)gap->ga_data + gap->ga_len, s, (size_t)len);
|
||||
gap->ga_len += len;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user