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

Re: [Xen-devel] Xen 4.2.2 release patch



>>> On 25.04.13 at 16:58, Ian Campbell <Ian.Campbell@xxxxxxxxxx> wrote:
> On Thu, 2013-04-25 at 15:48 +0100, 7heo@xxxxxxx wrote:
>> I tried to build Xen from the git repository,
>> cloning the RELEASE-4.2.2 tag, on a NetBSD
>> 6.0.1 system installed on an i386 host.
>> 
>> I got 4 warnings, causing the compilation to
>> fail, due to the -Werror flag.
>> 
>> Rather than removing the flag, I did prefer to
>> patch the source, since the fix was really
>> trivial.
>> 
>> Please find the patch attached.
> 
> Thanks. It really seems like casting is the only reliable way to print a
> time_t :-/

Except that a cast to "long" here can turn out to be a truncation,
so you'd really want to cast up to "long long".

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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