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

2013-09-02 Thread Aurelien Jarno
On Thu, Aug 29, 2013 at 02:09:29PM -0700, Richard Henderson wrote: > Since FMT_timeval unconditionally uses %ld for both tv_sec and tv_usec, > and already casts tv_usec to long, also cast tv_sec to long. > > Cc: Andreas Färber > Signed-off-by: Richard Henderson > --- > qtest.c | 8 > 1

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

2013-08-29 Thread Richard Henderson
Since FMT_timeval unconditionally uses %ld for both tv_sec and tv_usec, and already casts tv_usec to long, also cast tv_sec to long. Cc: Andreas Färber Signed-off-by: Richard Henderson --- qtest.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/qtest.c b/qtest.c inde