]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
Btrfs: more 32 bit cleanups
authorChris Mason <chris.mason@oracle.com>
Mon, 26 Feb 2007 19:26:58 +0000 (14:26 -0500)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Mon, 26 Feb 2007 19:26:58 +0000 (14:26 -0500)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/print-tree.c

index a9a14223e1869f5f8065ae03cd64f2f8d6521fd6..dda08f32c154e918ab1f60d390b1603fa7a85323 100644 (file)
@@ -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",