summaryrefslogtreecommitdiffstats
path: root/fuse/ulockmgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuse/ulockmgr.c')
-rw-r--r--fuse/ulockmgr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuse/ulockmgr.c b/fuse/ulockmgr.c
index f0523ae70..ebd68c6a7 100644
--- a/fuse/ulockmgr.c
+++ b/fuse/ulockmgr.c
@@ -356,10 +356,10 @@ static uint32_t owner_hash(const unsigned char *id, size_t id_len)
static int ulockmgr_canonicalize(int fd, struct flock *lock)
{
- off64_t offset;
+ loff_t offset;
if (lock->l_whence == SEEK_CUR) {
offset = lseek(fd, 0, SEEK_CUR);
- if (offset == (off64_t) -1)
+ if (offset == (loff_t) -1)
return -errno;
} else if (lock->l_whence == SEEK_END) {
struct stat stbuf;