aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memfile.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2022-01-01 02:55:27 +0100
committerDundar Göc <gocdundar@gmail.com>2022-01-01 02:55:34 +0100
commit3fccdeb326f5633d3c84b98ac1bd0b15b7fd28a5 (patch)
tree8ccd201b73576d80b90c90ca682b7df182ab36a0 /src/nvim/memfile.c
parent6fb9c278d8fa1f9e34a2ff6493e62a9a33d1f00f (diff)
downloadrneovim-3fccdeb326f5633d3c84b98ac1bd0b15b7fd28a5.tar.gz
rneovim-3fccdeb326f5633d3c84b98ac1bd0b15b7fd28a5.tar.bz2
rneovim-3fccdeb326f5633d3c84b98ac1bd0b15b7fd28a5.zip
chore(fixup): bfredl size_t
Diffstat (limited to 'src/nvim/memfile.c')
-rw-r--r--src/nvim/memfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memfile.c b/src/nvim/memfile.c
index bea92e5082..2a72d1e6a0 100644
--- a/src/nvim/memfile.c
+++ b/src/nvim/memfile.c
@@ -269,7 +269,7 @@ bhdr_T *mf_new(memfile_T *mfp, bool negative, unsigned page_count)
// Init the data to all zero, to avoid reading uninitialized data.
// This also avoids that the passwd file ends up in the swap file!
- (void)memset(hp->bh_data, 0, (unsigned long)mfp->mf_page_size * page_count);
+ (void)memset(hp->bh_data, 0, (size_t)mfp->mf_page_size * page_count);
return hp;
}