From: Alex Bligh Subject: Re: [PATCH] FIX: Cast the time_t values to avoid warnings Date: Sat, 27 Apr 2013 23:59:35 +0100 Message-ID: <33B04B28EBA73FCE47FBBD2B@nimrod.local> References: <1367092353-22130-1-git-send-email-7heo@7heo.tk> <20130427201803.GA17211@quantz> <20130427213235.GA28121@7heo.tk> <20130427220349.GB29754@quantz> <20130427222729.GA32177@7heo.tk> Reply-To: Alex Bligh Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20130427222729.GA32177@7heo.tk> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: 7heo@7heo.tk, xen-devel@lists.xen.org Cc: Alex Bligh List-Id: xen-devel@lists.xenproject.org --On 28 April 2013 00:27:29 +0200 7heo@7heo.tk 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