>From 37346873ca9b221c38b22501f87bd4e75565a647 Mon Sep 17 00:00:00 2001 From: Marco Nenciarini Date: Wed, 5 Jan 2011 12:24:27 +0100 Subject: [PATCH 3/7] Fix offsetof macro on 64 bit systems --- fsys_xfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fsys_xfs.c b/fsys_xfs.c index 043af2f..1db60ae 100644 --- a/fsys_xfs.c +++ b/fsys_xfs.c @@ -184,7 +184,7 @@ fsb2daddr (xfs_fsblock_t fsbno) } #undef offsetof -#define offsetof(t,m) ((int)&(((t *)0)->m)) +#define offsetof(t,m) ((size_t)&(((t *)0)->m)) static inline int btroot_maxrecs (fsi_file_t *ffi) -- 1.7.2.3