From 29e1d592d014f7ccb001d62d1c818df54095c46f Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Wed, 20 Feb 2013 15:59:08 +0100 Subject: [PATCH] libfuse: 64bit fuse_ino_t Change the type of fuse_ino_t from 'unsigned long' to 'uint64_t'. This only changes the size on 32bit architectures. --- ChangeLog | 5 +++++ include/fuse_lowlevel.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0094c3e..508ae46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-02-20 Miklos Szeredi + + * libfuse: change the type of fuse_ino_t from 'unsigned long' to + 'uint64_t' + 2013-02-19 Miklos Szeredi * fuse_daemonize(): chdir to "/" even if not running in the diff --git a/include/fuse_lowlevel.h b/include/fuse_lowlevel.h index d2caa78..0a1d5f5 100644 --- a/include/fuse_lowlevel.h +++ b/include/fuse_lowlevel.h @@ -44,7 +44,7 @@ extern "C" { #define FUSE_ROOT_ID 1 /** Inode number type */ -typedef unsigned long fuse_ino_t; +typedef uint64_t fuse_ino_t; /** Request pointer type */ typedef struct fuse_req *fuse_req_t; @@ -122,7 +122,7 @@ struct fuse_ctx { }; struct fuse_forget_data { - uint64_t ino; + fuse_ino_t ino; uint64_t nlookup; }; -- 2.30.2