From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40801) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDg6U-0003jH-H1 for qemu-devel@nongnu.org; Fri, 30 Mar 2012 13:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SDg6O-0001Qi-3C for qemu-devel@nongnu.org; Fri, 30 Mar 2012 13:59:14 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:52778) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SDg6N-0001QD-Ua for qemu-devel@nongnu.org; Fri, 30 Mar 2012 13:59:08 -0400 Received: by obbwd20 with SMTP id wd20so1407071obb.4 for ; Fri, 30 Mar 2012 10:59:06 -0700 (PDT) Message-ID: <4F75F468.7010804@codemonkey.ws> Date: Fri, 30 Mar 2012 12:59:04 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <1333130099-25238-1-git-send-email-aliguori@us.ibm.com> In-Reply-To: <1333130099-25238-1-git-send-email-aliguori@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH] qtest: fix 32-bit build List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Stefan Weil , qemu-devel@nongnu.org Applied. Sorry for the breakage. Regards, Anthony Liguori On 03/30/2012 12:54 PM, Anthony Liguori wrote: > time_t appears to be an unsigned long so use %ld. > > Reported-by: Stefan Weil > Signed-off-by: Anthony Liguori > --- > qtest.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/qtest.c b/qtest.c > index 53e2b79..cd7186c 100644 > --- a/qtest.c > +++ b/qtest.c > @@ -34,7 +34,7 @@ static int irq_levels[MAX_IRQ]; > static struct timeval start_time; > static bool qtest_opened; > > -#define FMT_timeval "%" PRId64 ".%06" PRId64 > +#define FMT_timeval "%ld.%06ld" > > /** > * QTest Protocol