Fix warning from sparse (wrong declaration)
PATCH 1/1 Fix warning from sparse (wrong declaration)
Fix data type (this fixes a warning from sparse)
Signed-off-by Stefan Weil <[email protected]>
qemu-tool.c (Arbeitskopie) renamed from qemu-tool.c (Revision 5818) +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; }
Aurelien Jarno
AppliedQuoted 3 lines · Stefan Weil
Fix data type (this fixes a warning from sparse)
Signed-off-by Stefan Weil <[email protected]>
Thanks, applied.
Quoted 17 lines
Index:
qemu-tool.c
===================================================================qemu-tool.c (Arbeitskopie) renamed from qemu-tool.c (Revision 5818) +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; }
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net