direct-io.hg

changeset 12347:357127ca8bf2

[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@xensource.com>
author Tim Deegan <Tim.Deegan@xensource.com>
date Fri Nov 10 09:50:35 2006 +0000 (2006-11-10)
parents b4e7365d451d
children 814fbacfafc6
files tools/libfsimage/ext2fs-lib/ext2fs-lib.c
line diff
     1.1 --- a/tools/libfsimage/ext2fs-lib/ext2fs-lib.c	Fri Nov 10 07:48:25 2006 +0000
     1.2 +++ b/tools/libfsimage/ext2fs-lib/ext2fs-lib.c	Fri Nov 10 09:50:35 2006 +0000
     1.3 @@ -119,7 +119,7 @@ ssize_t
     1.4  ext2lib_pread(fsi_file_t *file, void *buf, size_t nbytes, uint64_t off)
     1.5  {
     1.6  	ext2_file_t *f = fsip_file_data(file);
     1.7 -	uint64_t tmpoff;
     1.8 +	__u64 tmpoff;
     1.9  	unsigned int n;
    1.10  	int err;
    1.11