public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [kvm-unit-tests PATCH v1] lib: fix compilation warning
@ 2017-05-12 10:47 David Hildenbrand
  2017-05-12 12:22 ` Thomas Huth
  2017-05-12 15:11 ` Radim Krčmář
  0 siblings, 2 replies; 3+ messages in thread
From: David Hildenbrand @ 2017-05-12 10:47 UTC (permalink / raw)
  To: kvm
  Cc: Paolo Bonzini, Radim Krčmář, Thomas Huth, david,
	David Matlack

GCC doesn't like comparison of signed and unsigned values.

Signed-off-by: David Hildenbrand <david@redhat.com>
---
 lib/report.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/report.c b/lib/report.c
index aa23b65..f7af596 100644
--- a/lib/report.c
+++ b/lib/report.c
@@ -29,7 +29,7 @@ void report_pass(void)
 void report_prefix_pushf(const char *prefix_fmt, ...)
 {
 	va_list va;
-	int len;
+	unsigned int len;
 	int start;
 
 	spin_lock(&lock);
-- 
2.9.3

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

end of thread, other threads:[~2017-05-12 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-12 10:47 [kvm-unit-tests PATCH v1] lib: fix compilation warning David Hildenbrand
2017-05-12 12:22 ` Thomas Huth
2017-05-12 15:11 ` Radim Krčmář

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox