qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel][PATCH] Fix warning from sparse (wrong declaration)
@ 2008-11-30 14:23 Stefan Weil
  2008-11-30 16:26 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2008-11-30 14:23 UTC (permalink / raw)
  To: QEMU Developers

Fix data type (this fixes a warning from sparse)

Signed-off-by: Stefan Weil <weil@mail.berlios.de>

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;
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-30 16:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-30 14:23 [Qemu-devel][PATCH] Fix warning from sparse (wrong declaration) Stefan Weil
2008-11-30 16:26 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).