From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtPRE-0006Ny-FX for qemu-devel@nongnu.org; Tue, 25 Nov 2014 18:22:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtPR8-0001xV-Rl for qemu-devel@nongnu.org; Tue, 25 Nov 2014 18:22:28 -0500 Received: from mail-lb0-f178.google.com ([209.85.217.178]:53290) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtPR8-0001wT-Ks for qemu-devel@nongnu.org; Tue, 25 Nov 2014 18:22:22 -0500 Received: by mail-lb0-f178.google.com with SMTP id f15so1621843lbj.37 for ; Tue, 25 Nov 2014 15:22:21 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20141125202949.GA27070@cbox> References: <1416939705-1272-1-git-send-email-peter.maydell@linaro.org> <20141125202949.GA27070@cbox> From: Peter Maydell Date: Tue, 25 Nov 2014 23:22:01 +0000 Message-ID: Content-Type: text/plain; charset=UTF-8 Subject: Re: [Qemu-devel] [PATCH for-2.2] qemu-timer: Avoid overflows when converting timeout to struct timespec List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Christoffer Dall Cc: "marc.zyngier@arm.com" , Paolo Bonzini , QEMU Developers , Anthony Liguori , Patch Tracking On 25 November 2014 at 20:29, Christoffer Dall wrote: > I'm wondering if the timespec struct field is an unsigned long and > that's why we werent' seeing the overflow on arm64? It's a time_t, and they're signed, but I imagine on arm64 time_t is 64 bits. -- PMM