linux-um archives
 help / color / mirror / Atom feed
From: Mattia Dongili <malattia@linux.it>
To: UML-devel <user-mode-linux-devel@lists.sourceforge.net>
Cc: Blaisorblade <blaisorblade@yahoo.it>
Subject: [uml-devel] uml_utilities-20060323 fails to build on alpha
Date: Sun, 9 Apr 2006 20:07:09 +0200	[thread overview]
Message-ID: <20060409180709.GA20099@inferi.kami.home> (raw)

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

             reply	other threads:[~2006-04-09 18:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-09 18:07 Mattia Dongili [this message]
2006-04-09 18:23 ` [uml-devel] uml_utilities-20060323 fails to build on alpha Mattia Dongili
2006-04-19  9:52 ` Blaisorblade

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060409180709.GA20099@inferi.kami.home \
    --to=malattia@linux.it \
    --cc=blaisorblade@yahoo.it \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox