diff options
| author | Anthony Liguori | 2012-03-30 19:53:54 +0200 |
|---|---|---|
| committer | Anthony Liguori | 2012-03-30 19:56:10 +0200 |
| commit | 6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe (patch) | |
| tree | 3133a8b9c21a7ccbb42dbaaec57e627e6cda4ed4 | |
| parent | qtest: fix out of tree build (diff) | |
| download | qemu-6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe.tar.gz qemu-6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe.tar.xz qemu-6b7cff76e0545b831542bbbdcf3fa2e4f260fbfe.zip | |
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>
| -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 |
