[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel][PATCH] Fix warning from sparse (wrong declaration)
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel][PATCH] Fix warning from sparse (wrong declaration) |
Date: |
Sun, 30 Nov 2008 17:26:17 +0100 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
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 <address@hidden>
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
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net