[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] FIX: Cast the time_t values to avoid warnings
On Sat, Apr 27, 2013 at 11:59:35PM +0100, Alex Bligh wrote: > > > --On 28 April 2013 00:27:29 +0200 7heo@xxxxxxx wrote: > > >Thanks for having taken the time to check. Then it would > >maybe make sense to check the size of time_t at > >compilation time (with cpp instructions) in order to > >chose the cast that fits, wouldn't it? > > Would it not be easier just to cast to unsigned long long, and use %llu? > > -- > Alex Bligh Yeah, you're right. I'm then going to do that. Thanks for the suggestion. Regards, 7heo. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |