aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
45 } 45 }
46 printf("node %Lu level %d total ptrs %d free spc %u\n", t->blocknr, 46 printf("node %Lu level %d total ptrs %d free spc %u\n", t->blocknr,
47 node_level(c->header.flags), c->header.nritems, 47 node_level(c->header.flags), c->header.nritems,
48 NODEPTRS_PER_BLOCK - c->header.nritems); 48 (u32)NODEPTRS_PER_BLOCK - c->header.nritems);
49 fflush(stdout); 49 fflush(stdout);
50 for (i = 0; i < nr; i++) { 50 for (i = 0; i < nr; i++) {
51 printf("\tkey %d (%Lu %u %Lu) block %Lu\n", 51 printf("\tkey %d (%Lu %u %Lu) block %Lu\n",