aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/samples
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-08-09 23:32:23 +0200
committerGitHub <noreply@github.com>2019-08-09 23:32:23 +0200
commit5aa97937e7844f2d3d5e1b015e6749d1f2955697 (patch)
tree8ed4074d72908e0f282b27136bae7d04184631f5 /src/nvim/testdir/samples
parente2d6e67bbc7a09496eddaeb27af4d2d135452cdb (diff)
parent11a6dac8c935a530c18fd1c7488c358f43b80ff5 (diff)
downloadrneovim-5aa97937e7844f2d3d5e1b015e6749d1f2955697.tar.gz
rneovim-5aa97937e7844f2d3d5e1b015e6749d1f2955697.tar.bz2
rneovim-5aa97937e7844f2d3d5e1b015e6749d1f2955697.zip
Merge #10706 from janlazo/vim-8.1.1465
vim-patch:8.1.{1465,1467}
Diffstat (limited to 'src/nvim/testdir/samples')
-rw-r--r--src/nvim/testdir/samples/memfile_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/samples/memfile_test.c b/src/nvim/testdir/samples/memfile_test.c
index 3c8f108255..c71a5c8f40 100644
--- a/src/nvim/testdir/samples/memfile_test.c
+++ b/src/nvim/testdir/samples/memfile_test.c
@@ -70,7 +70,7 @@ test_mf_hash(void)
assert(mf_hash_find(&ht, key) == NULL);
/* allocate and add new item */
- item = (mf_hashitem_T *)lalloc_clear(sizeof(mf_hashtab_T), FALSE);
+ item = (mf_hashitem_T *)lalloc_clear(sizeof(*item), FALSE);
assert(item != NULL);
item->mhi_key = key;
mf_hash_add_item(&ht, item);