From: Ian Campbell Subject: Re: [PATCH 2/3] libxl: ocaml: use int64 for timeval fields in the timeout_register callback Date: Wed, 8 Jan 2014 14:35:58 +0000 Message-ID: <1389191758.4883.91.camel@kazak.uk.xensource.com> References: <1386866211-12639-1-git-send-email-rob.hoes@citrix.com> <1386866211-12639-3-git-send-email-rob.hoes@citrix.com> <21196.15462.177720.502000@mariner.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <21196.15462.177720.502000@mariner.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Jackson Cc: dave.scott@eu.citrix.com, Rob Hoes , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Tue, 2014-01-07 at 17:41 +0000, Ian Jackson wrote: > Rob Hoes writes ("[PATCH 2/3] libxl: ocaml: use int64 for timeval fields in the timeout_register callback"): > > The original code works fine on 64-bit, but on 32-bit, the OCaml int (which is > > 1 bit smaller than the C int) is likely to overflow. > > Acked-by: Ian Jackson Applied, thanks.