aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-02-26 14:26:58 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-02-26 14:26:58 -0500
commitd16302ab0ed26e236e9bde8cd54fd604d7d97297 (patch)
tree4ffbeead0ab9241bcc39ac778fb57532295dc671
parent41903fe666ff8e7b1d47ac7b2f5f9a91c7749498 (diff)
Btrfs: more 32 bit cleanups
Signed-off-by: Chris Mason <chris.mason@oracle.com>
-rw-r--r--fs/btrfs/print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/print-tree.c b/fs/btrfs/print-tree.c
index a9a14223e18..dda08f32c15 100644
--- a/fs/btrfs/print-tree.c
+++ b/fs/btrfs/print-tree.c
@@ -45,7 +45,7 @@ void print_tree(struct ctree_root *root, struct tree_buffer *t)
}
printf("node %Lu level %d total ptrs %d free spc %u\n", t->blocknr,
node_level(c->header.flags), c->header.nritems,
- NODEPTRS_PER_BLOCK - c->header.nritems);
+ (u32)NODEPTRS_PER_BLOCK - c->header.nritems);
fflush(stdout);
for (i = 0; i < nr; i++) {
printf("\tkey %d (%Lu %u %Lu) block %Lu\n",