linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] uml_utilities-20060323 fails to build on alpha
@ 2006-04-09 18:07 Mattia Dongili
  2006-04-09 18:23 ` Mattia Dongili
  2006-04-19  9:52 ` Blaisorblade
  0 siblings, 2 replies; 3+ messages in thread
From: Mattia Dongili @ 2006-04-09 18:07 UTC (permalink / raw)
  To: UML-devel; +Cc: Blaisorblade

[-- Attachment #1: Type: text/plain, Size: 375 bytes --]

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!

[-- Attachment #2: fix_moo_conflicting_types_for_read_cow_header.diff --]
[-- Type: text/plain, Size: 464 bytes --]

--- 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)
 {

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-19  9:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-09 18:07 [uml-devel] uml_utilities-20060323 fails to build on alpha Mattia Dongili
2006-04-09 18:23 ` Mattia Dongili
2006-04-19  9:52 ` Blaisorblade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox