Re: [Qemu-devel] [PATCH] qtest: Fix tv_usec != long

2012-04-24 Thread Anthony Liguori
On 04/19/2012 07:09 AM, Richard Henderson wrote: Sparc Debian 5.0.8 does not define __suseconds_t as long, but FMT_timeval expects %ld. Signed-off-by: Richard Henderson Cc: Anthony Liguori Cc: Paolo Bonzini Applied. Thanks. Regards, Anthony Liguori --- qtest.c |8 1 files

Re: [Qemu-devel] [PATCH] qtest: Fix tv_usec != long

2012-04-19 Thread Richard Henderson
On 04/19/2012 12:04 PM, Blue Swirl wrote: >> > -tv.tv_sec, tv.tv_usec); >> > +tv.tv_sec, (long) tv.tv_usec); > Instead of the casts, can't we fix FMT_timeval? > Without truly ugly configure detection, I sincerely doubt it. r~

Re: [Qemu-devel] [PATCH] qtest: Fix tv_usec != long

2012-04-19 Thread Blue Swirl
On Thu, Apr 19, 2012 at 12:09, Richard Henderson wrote: > Sparc Debian 5.0.8 does not define __suseconds_t as long, > but FMT_timeval expects %ld. > > Signed-off-by: Richard Henderson > Cc: Anthony Liguori > Cc: Paolo Bonzini > --- >  qtest.c |    8 >  1 files changed, 4 insertions(+),

Re: [Qemu-devel] [PATCH] qtest: Fix tv_usec != long

2012-04-19 Thread Paolo Bonzini
Il 19/04/2012 14:09, Richard Henderson ha scritto: > Sparc Debian 5.0.8 does not define __suseconds_t as long, > but FMT_timeval expects %ld. > > Signed-off-by: Richard Henderson > Cc: Anthony Liguori > Cc: Paolo Bonzini > --- > qtest.c |8 > 1 files changed, 4 insertions(+), 4 de

[Qemu-devel] [PATCH] qtest: Fix tv_usec != long

2012-04-19 Thread Richard Henderson
Sparc Debian 5.0.8 does not define __suseconds_t as long, but FMT_timeval expects %ld. Signed-off-by: Richard Henderson Cc: Anthony Liguori Cc: Paolo Bonzini --- qtest.c |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/qtest.c b/qtest.c index 18afcd9..fbfab4e 100