aboutsummaryrefslogtreecommitdiff
path: root/qemu-tool.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-30 16:25:17 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-11-30 16:25:17 +0000
commitd92620c8e0fd51847db7d980e7dbd411e905e822 (patch)
treea1b4b01b4459a2a99af7b2f2e9b1f3df62a9f0e8 /qemu-tool.c
parentf9487cb94ec1d392cfa97ef239e3c03fdf250ae1 (diff)
Fix warning from sparse (wrong declaration)
Fix data type (this fixes a warning from sparse) Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5834 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-tool.c')
-rw-r--r--qemu-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-tool.c b/qemu-tool.c
index 74d4b4f80e..c0b1cad669 100644
--- a/qemu-tool.c
+++ b/qemu-tool.c
@@ -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;
}