summaryrefslogtreecommitdiff
path: root/print-tree.c
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
commit7fe73148eb971358b009e0284d4044ae606e83eb (patch)
treeb95752b6294427f684f60aeae533dc439656886b /print-tree.c
parented0a072aca5ada8c92fece4084a7db374d8998de (diff)
more 32 bit cleanups
Diffstat (limited to 'print-tree.c')
-rw-r--r--print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c
index a9a14223..dda08f32 100644
--- a/print-tree.c
+++ b/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",