Skip to contentSkip to conversation

[5834] Fix warning from sparse (wrong declaration)

Qemu-devel Aurelien Jarno 1 participant 1 message Nov 30, 2008

lore
Share & tools
lore
#0 lore raw

Revision: 5834

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5834
Author:   aurel32
Date:     2008-11-30 16:25:17 +0000 (Sun, 30 Nov 2008)

Log Message:
-----------
Fix warning from sparse (wrong declaration)

Fix data type (this fixes a warning from sparse)

Modified Paths:
--------------
trunk/qemu-tool.c

Modified: trunk/qemu-tool.c
===================================================================

qemu-tool.c +1 -1
@@ -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;
 }