diff options
author | Jan Schmidt <list.btrfs@jan-o-sch.net> | 2012-08-13 02:52:38 -0600 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-01 15:19:01 -0400 |
commit | 995e01b7af745b8aaa5e882cfb7bfd5baab3f335 (patch) | |
tree | dc1cea9734e2b635edc7b2949abdd720cbc60e22 /fs/btrfs/file-item.c | |
parent | 74dd17fbe3d65829e75d84f00a9525b2ace93998 (diff) | |
download | kernel_goldelico_gta04-995e01b7af745b8aaa5e882cfb7bfd5baab3f335.zip kernel_goldelico_gta04-995e01b7af745b8aaa5e882cfb7bfd5baab3f335.tar.gz kernel_goldelico_gta04-995e01b7af745b8aaa5e882cfb7bfd5baab3f335.tar.bz2 |
Btrfs: fix gcc warnings for 32bit compiles
Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/file-item.c')
-rw-r--r-- | fs/btrfs/file-item.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/file-item.c b/fs/btrfs/file-item.c index 857d93c..54f0335 100644 --- a/fs/btrfs/file-item.c +++ b/fs/btrfs/file-item.c @@ -25,7 +25,7 @@ #include "transaction.h" #include "print-tree.h" -#define __MAX_CSUM_ITEMS(r, size) ((((BTRFS_LEAF_DATA_SIZE(r) - \ +#define __MAX_CSUM_ITEMS(r, size) ((unsigned long)(((BTRFS_LEAF_DATA_SIZE(r) - \ sizeof(struct btrfs_item) * 2) / \ size) - 1)) |