diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-30 12:53:54 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-03-30 12:56:10 -0500 |
commit | 6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe (patch) | |
tree | 3133a8b9c21a7ccbb42dbaaec57e627e6cda4ed4 /qtest.c | |
parent | d2a16f74f22b4a8d5f8a66d568e729a943136872 (diff) | |
download | qemu-6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe.zip qemu-6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe.tar.gz qemu-6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe.tar.bz2 |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |