Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6p7j-0007MP-O7 for qemu-devel@nongnu.org; Sun, 30 Nov 2008 11:26:19 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6p7j-0007M1-32 for qemu-devel@nongnu.org; Sun, 30 Nov 2008 11:26:19 -0500 Received: from [199.232.76.173] (port=44946 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6p7i-0007Lu-Mz for qemu-devel@nongnu.org; Sun, 30 Nov 2008 11:26:18 -0500 Received: from hall.aurel32.net ([88.191.82.174]:43477) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6p7i-0007aF-AX for qemu-devel@nongnu.org; Sun, 30 Nov 2008 11:26:18 -0500 Received: from aurel32 by hall.aurel32.net with local (Exim 4.63) (envelope-from ) id 1L6p7h-0003aP-2X for qemu-devel@nongnu.org; Sun, 30 Nov 2008 17:26:17 +0100 Date: Sun, 30 Nov 2008 17:26:17 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel][PATCH] Fix warning from sparse (wrong declaration) Message-ID: <20081130162617.GC11797@hall.aurel32.net> References: <4932A1F7.4020708@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <4932A1F7.4020708@mail.berlios.de> Sender: Aurelien Jarno Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Sun, Nov 30, 2008 at 03:23:51PM +0100, Stefan Weil wrote: > Fix data type (this fixes a warning from sparse) > > Signed-off-by: Stefan Weil Thanks, applied. > 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; > } > > > > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net