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>
This commit is contained in:
parent
d2a16f74f2
commit
6b7cff76e0
2
qtest.c
2
qtest.c
|
@ -34,7 +34,7 @@ static int irq_levels[MAX_IRQ];
|
||||||
static struct timeval start_time;
|
static struct timeval start_time;
|
||||||
static bool qtest_opened;
|
static bool qtest_opened;
|
||||||
|
|
||||||
#define FMT_timeval "%" PRId64 ".%06" PRId64
|
#define FMT_timeval "%ld.%06ld"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* QTest Protocol
|
* QTest Protocol
|
||||||
|
|
Loading…
Reference in New Issue