inc: fuse: remove long references (as they have different size in Win64 and Cygwin64)

This commit is contained in:
Bill Zissimopoulos 2016-05-31 09:46:02 -07:00
parent fd8a3ab786
commit 4a4dab14c5
2 changed files with 8 additions and 8 deletions

View File

@ -95,7 +95,7 @@ typedef int32_t fuse_blkcnt_t;
struct fuse_timespec
{
time_t tv_sec;
long tv_nsec;
int tv_nsec;
};
struct fuse_stat
@ -118,17 +118,17 @@ struct fuse_stat
struct fuse_statvfs
{
unsigned long f_bsize;
unsigned long f_frsize;
unsigned int f_bsize;
unsigned int f_frsize;
fuse_fsblkcnt_t f_blocks;
fuse_fsblkcnt_t f_bfree;
fuse_fsblkcnt_t f_bavail;
fuse_fsfilcnt_t f_files;
fuse_fsfilcnt_t f_ffree;
fuse_fsfilcnt_t f_favail;
unsigned long f_fsid;
unsigned long f_flag;
unsigned long f_namemax;
unsigned int f_fsid;
unsigned int f_flag;
unsigned int f_namemax;
};
#define FSP_FUSE_ENVIRONMENT 'W'
@ -170,7 +170,7 @@ struct fuse_statvfs
struct fuse_file_info
{
int flags;
unsigned long fh_old;
unsigned int fh_old;
int writepage;
unsigned int direct_io:1;
unsigned int keep_cache:1;

View File

@ -62,7 +62,7 @@ extern "C" {
struct fuse_opt
{
const char *templ;
unsigned long offset;
unsigned int offset;
int value;
};