~ubuntu-branches/debian/jessie/btrfs-tools/jessie

« back to all changes in this revision

Viewing changes to debian/patches/0001-Properly-cast-to-avoid-compiler-warnings-fixes-FTBFS.patch

  • Committer: Package Import Robot
  • Author(s): Dimitri John Ledkov
  • Date: 2014-04-19 12:12:11 UTC
  • mfrom: (1.2.12) (6.1.37 sid)
  • Revision ID: package-import@ubuntu.com-20140419121211-mski0g757tsdv4x1
Tags: 3.14.1-1
* New upstream release.
* Switch to git-dpm.
* Rebase and cleanup patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
From 9c3c141e5ee0857104902cf1bc0a81499097fdb0 Mon Sep 17 00:00:00 2001
 
2
From: Dimitri John Ledkov <xnox@debian.org>
 
3
Date: Sat, 19 Apr 2014 11:40:34 +0100
 
4
Subject: Properly cast to avoid compiler warnings, fixes FTBFS on alpha and
 
5
 ia64.
 
6
 
 
7
Bug-Debian: http://bugs.debian.org/539433
 
8
Bug-Debian: http://bugs.debian.org/583768
 
9
Authors:
 
10
 Luca Bruno <lucab@debian.org>
 
11
 Alexander Kurtz <kurtz.alex@googlemail.com>
 
12
 Daniel Baumann <daniel.baumann@progress-technologies.net>
 
13
 
 
14
Signed-off-by: Dimitri John Ledkov <xnox@debian.org>
 
15
---
 
16
 btrfs-convert.c | 2 +-
 
17
 1 file changed, 1 insertion(+), 1 deletion(-)
 
18
 
 
19
diff --git a/btrfs-convert.c b/btrfs-convert.c
 
20
index a8b2c51..4bee241 100644
 
21
--- a/btrfs-convert.c
 
22
+++ b/btrfs-convert.c
 
23
@@ -2441,7 +2441,7 @@ static int do_rollback(const char *devname, int force)
 
24
        ext2_root = btrfs_read_fs_root(root->fs_info, &key);
 
25
        if (!ext2_root || IS_ERR(ext2_root)) {
 
26
                fprintf(stderr, "unable to open subvol %llu\n",
 
27
-                       key.objectid);
 
28
+                       (unsigned long long) key.objectid);
 
29
                goto fail;
 
30
        }
 
31