btrfs-progs: Properly cast to avoid compiler warnings, fixes FTBFS on alpha and ia64
authorDimitri John Ledkov <xnox@debian.org>
Sun, 21 Sep 2014 01:01:19 +0000 (02:01 +0100)
committerDavid Sterba <dsterba@suse.cz>
Wed, 1 Oct 2014 14:33:26 +0000 (16:33 +0200)
Bug-Debian: http://bugs.debian.org/539433
Bug-Debian: http://bugs.debian.org/583768
Authors:
 Luca Bruno <lucab@debian.org>
 Alexander Kurtz <kurtz.alex@googlemail.com>
 Daniel Baumann <daniel.baumann@progress-technologies.net>

Signed-off-by: Dimitri John Ledkov <xnox@debian.org>
Signed-off-by: David Sterba <dsterba@suse.cz>
btrfs-convert.c

index f9910dc..2977533 100644 (file)
@@ -2441,7 +2441,7 @@ static int do_rollback(const char *devname)
        ext2_root = btrfs_read_fs_root(root->fs_info, &key);
        if (!ext2_root || IS_ERR(ext2_root)) {
                fprintf(stderr, "unable to open subvol %llu\n",
-                       key.objectid);
+                       (unsigned long long)key.objectid);
                goto fail;
        }