提交 6b7cff76 编写于 作者: A Anthony Liguori

qtest: fix 32-bit build

time_t appears to be an unsigned long so use %ld.
Reported-by: NStefan Weil <weil@mail.berlios.de>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册