qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qtest: fix 32-bit build


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH] qtest: fix 32-bit build
Date: Fri, 30 Mar 2012 12:59:04 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120310 Thunderbird/11.0

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<address@hidden>
Signed-off-by: Anthony Liguori<address@hidden>
---
  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




reply via email to

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