qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/3]use int64 when compare two time


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1/3]use int64 when compare two time
Date: Fri, 6 Jan 2012 13:20:55 +0000

On 6 January 2012 07:37, Zhang, Yang Z <address@hidden> wrote:
> use int64 when compare two time
>
> int32 only represent only 136 years when comparing two times based on second. 
> It would be better to use int64.

"int32", "int32_t" and "'int' which happens to be 32 bit" are all
different types;
your changelog message is confusing them.

Anyway, maybe we should be using time_t here? The functions use that
internally anyway so is there a reason not to just use it in the API too?

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]