[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/7] test-coroutine: avoid overflow on 32-bit sy
From: |
Ming Lei |
Subject: |
Re: [Qemu-devel] [PATCH 3/7] test-coroutine: avoid overflow on 32-bit systems |
Date: |
Tue, 2 Dec 2014 09:20:30 +0800 |
On Mon, Dec 1, 2014 at 8:41 PM, Paolo Bonzini <address@hidden> wrote:
>
>
> On 01/12/2014 02:28, Ming Lei wrote:
>>> > - (unsigned long)(1000000000 * duration) / maxcycles);
>>> > + (unsigned long)(1000000000.0 * duration / maxcycles));
>> One more single bracket.
>
> I don't understand?
Sorry, it is my fault, :-(
Thanks