From: Ian Jackson Subject: Re: [PATCH 2/3] libxl: ocaml: use int64 for timeval fields in the timeout_register callback Date: Tue, 7 Jan 2014 17:41:58 +0000 Message-ID: <21196.15462.177720.502000@mariner.uk.xensource.com> References: <1386866211-12639-1-git-send-email-rob.hoes@citrix.com> <1386866211-12639-3-git-send-email-rob.hoes@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1386866211-12639-3-git-send-email-rob.hoes@citrix.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: Rob Hoes Cc: dave.scott@eu.citrix.com, ian.campbell@citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org 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