Hello,

I hear you say "who cares?" :)
Well, such failure uncovers a small bug on 64bit arches with __u64 not
defined as unsigned long long (oh, that "who cares" again :)).

cow.c: At top level:
cow.c:271: error: conflicting types for 'read_cow_header'
cow.h:25: error: previous declaration of 'read_cow_header' was here

the attached patch fixes it.

Thanks
-- 
mattia
:wq!
--- tools-20060323/moo/cow.c~clean      2006-04-09 19:10:15.324384228 +0200
+++ tools-20060323/moo/cow.c    2006-04-09 19:10:27.433140978 +0200
@@ -265,7 +265,7 @@
 
 int read_cow_header(int (*reader)(__u64, char *, int, void *), void *arg,
                    __u32 *version_out, char **backing_file_out,
-                   time_t *mtime_out, unsigned long long *size_out,
+                   time_t *mtime_out, __u64 *size_out,
                    int *sectorsize_out, __u32 *align_out,
                    int *bitmap_offset_out)
 {

Reply via email to