提交 d92620c8 编写于 作者: A aurel32

Fix warning from sparse (wrong declaration)

Fix data type (this fixes a warning from sparse)
Signed-off-by: NStefan Weil <weil@mail.berlios.de>
Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5834 c046a42c-6fe2-441c-8c8c-71466251a162
上级 f9487cb9
......@@ -81,7 +81,7 @@ int qemu_set_fd_handler2(int fd,
int64_t qemu_get_clock(QEMUClock *clock)
{
struct timeval tv;
qemu_timeval tv;
qemu_gettimeofday(&tv);
return (tv.tv_sec * 1000000000LL + (tv.tv_usec * 1000)) / 1000000;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册