[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel][PATCH] Fix warning from sparse (wrong declaration)
From: |
Stefan Weil |
Subject: |
[Qemu-devel][PATCH] Fix warning from sparse (wrong declaration) |
Date: |
Sun, 30 Nov 2008 15:23:51 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.17 (X11/20081018) |
Fix data type (this fixes a warning from sparse)
Signed-off-by: Stefan Weil <address@hidden>
Index: qemu-tool.c
===================================================================
--- qemu-tool.c (Revision 5818)
+++ qemu-tool.c (Arbeitskopie)
@@ -81,7 +81,7 @@
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;
}
- [Qemu-devel][PATCH] Fix warning from sparse (wrong declaration),
Stefan Weil <=