Commit 6b7cff76 authored by Anthony Liguori's avatar Anthony Liguori

qtest: fix 32-bit build

time_t appears to be an unsigned long so use %ld.
Reported-by: default avatarStefan Weil <>
Signed-off-by: default avatarAnthony Liguori <>
parent d2a16f74
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment