This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[Xen-changelog] [xen-unstable] [LIBFSIMAGE] Further 64bit compile fix

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [LIBFSIMAGE] Further 64bit compile fix
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 11:10:13 +0000
Delivery-date: Fri, 10 Nov 2006 03:10:07 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
# Node ID 357127ca8bf25f1f75bde8312976a9a34eb00b8d
# Parent  b4e7365d451de6ffa84f24cfc29d59fea9aa50be
[LIBFSIMAGE] Further 64bit compile fix
64bit libext2fs can have __u64 defined as unsigned long long,
while a uint64_t is unsigned long, and GCC complains.

Signed-off-by: Tim Deegan <Tim.Deegan@xxxxxxxxxxxxx>
 tools/libfsimage/ext2fs-lib/ext2fs-lib.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r b4e7365d451d -r 357127ca8bf2 tools/libfsimage/ext2fs-lib/ext2fs-lib.c
--- a/tools/libfsimage/ext2fs-lib/ext2fs-lib.c  Fri Nov 10 07:48:25 2006 +0000
+++ b/tools/libfsimage/ext2fs-lib/ext2fs-lib.c  Fri Nov 10 09:50:35 2006 +0000
@@ -119,7 +119,7 @@ ext2lib_pread(fsi_file_t *file, void *bu
 ext2lib_pread(fsi_file_t *file, void *buf, size_t nbytes, uint64_t off)
        ext2_file_t *f = fsip_file_data(file);
-       uint64_t tmpoff;
+       __u64 tmpoff;
        unsigned int n;
        int err;

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] [LIBFSIMAGE] Further 64bit compile fix, Xen patchbot-unstable <=