summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/print-tree.c
diff options
context:
space:
mode:
authorChris Mason2007-02-26 20:26:58 +0100
committerDavid Woodhouse2007-02-26 20:26:58 +0100
commitd16302ab0ed26e236e9bde8cd54fd604d7d97297 (patch)
tree4ffbeead0ab9241bcc39ac778fb57532295dc671 /fs/btrfs/print-tree.c
parentBtrfs: 32bit cleanups (diff)
downloadkernel-qcow2-linux-d16302ab0ed26e236e9bde8cd54fd604d7d97297.tar.gz
kernel-qcow2-linux-d16302ab0ed26e236e9bde8cd54fd604d7d97297.tar.xz
kernel-qcow2-linux-d16302ab0ed26e236e9bde8cd54fd604d7d97297.zip
Btrfs: more 32 bit cleanups
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/print-tree.c')
-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 a9a14223e186..dda08f32c154 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",