qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 01/18] qtest: Fix FMT_timeval vs time_t


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 01/18] qtest: Fix FMT_timeval vs time_t
Date: Thu, 22 Aug 2013 10:53:57 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 08/22/2013 10:09 AM, Andreas Färber wrote:
> FMT_timeval is a file-local #define, so why not change that instead of
> all its users?

To what?  Unlike size_t, there's no time_t printf format.

Recall that checking size(time_t) doesn't suppress the warning
when sizeof(int) == sizeof(long)...

Since it *is* a local define, it seems easier to match up the
users than to do anything else.


r~



reply via email to

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