mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
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
1 changed files with 1 additions and 1 deletions
2
qtest.c
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue