From a45c0d902650061efc33953037f8a31b770f7dd9 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Wed, 4 Sep 2019 03:48:33 +0300 Subject: [PATCH] mdbx-posix: minor fix lck_op(). --- src/elements/lck-posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/lck-posix.c b/src/elements/lck-posix.c index d60b6a05..1fef4ebe 100644 --- a/src/elements/lck-posix.c +++ b/src/elements/lck-posix.c @@ -167,7 +167,7 @@ static void __cold choice_fcntl() { ((sizeof(off_t) > 4 ? INT64_MAX : INT32_MAX) & ~(size_t)0xffff) #endif -static int lck_op(mdbx_filehandle_t fd, int cmd, short lck, off_t offset, +static int lck_op(mdbx_filehandle_t fd, int cmd, int lck, off_t offset, off_t len) { mdbx_jitter4testing(true); for (;;) {