summaryrefslogtreecommitdiff
path: root/qtest.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2012-03-30 12:53:54 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2012-03-30 12:56:10 -0500
commit6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe (patch)
tree3133a8b9c21a7ccbb42dbaaec57e627e6cda4ed4 /qtest.c
parentd2a16f74f22b4a8d5f8a66d568e729a943136872 (diff)
qtest: fix 32-bit build
time_t appears to be an unsigned long so use %ld. Reported-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qtest.c')
-rw-r--r--qtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtest.c b/qtest.c
index 53e2b7942c..cd7186c39c 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