aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memfile.c
diff options
context:
space:
mode:
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 8c36a890de..1cfd11e205 100644
--- a/src/nvim/memfile.c
+++ b/src/nvim/memfile.c
@@ -125,7 +125,7 @@ memfile_T *mf_open(char *fname, int flags)
// must be rounded up.
if (mfp->mf_fd < 0
|| (flags & (O_TRUNC|O_EXCL))
- || (size = vim_lseek(mfp->mf_fd, 0L, SEEK_END)) <= 0) {
+ || (size = vim_lseek(mfp->mf_fd, 0, SEEK_END)) <= 0) {
// no file or empty file
mfp->mf_blocknr_max = 0;
} else {