diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd/9pfuse/fuse_kernel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9pfuse/fuse_kernel.h b/src/cmd/9pfuse/fuse_kernel.h index 67843acb..06ea220b 100644 --- a/src/cmd/9pfuse/fuse_kernel.h +++ b/src/cmd/9pfuse/fuse_kernel.h @@ -306,7 +306,7 @@ struct fuse_dirent { char name[1]; }; -#define FUSE_NAME_OFFSET ((unsigned) ((struct fuse_dirent *) 0)->name) +#define FUSE_NAME_OFFSET ((uintptr) ((struct fuse_dirent *) 0)->name) #define FUSE_DIRENT_ALIGN(x) (((x) + sizeof(__u64) - 1) & ~(sizeof(__u64) - 1)) #define FUSE_DIRENT_SIZE(d) \ FUSE_DIRENT_ALIGN(FUSE_NAME_OFFSET + (d)->namelen) |