[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



# 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
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.