mirror of
https://github.com/neovim/neovim.git
synced 2024-12-29 14:41:06 -07:00
ga_append_via_ptr: fix log arguments
This commit is contained in:
parent
eb6dd3e42d
commit
05cdbbc18b
@ -37,7 +37,7 @@ typedef struct growarray {
|
||||
static inline void *ga_append_via_ptr(garray_T *gap, size_t item_size)
|
||||
{
|
||||
if ((int)item_size != gap->ga_itemsize) {
|
||||
WLOG("wrong item size in garray(%d), should be %d", item_size);
|
||||
WLOG("wrong item size (%d), should be %d", item_size, gap->ga_itemsize);
|
||||
}
|
||||
ga_grow(gap, 1);
|
||||
return ((char *)gap->ga_data) + (item_size * (size_t)gap->ga_len++);
|
||||
|
Loading…
Reference in New Issue
Block a user