From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Hildenbrand Subject: [kvm-unit-tests PATCH v1] lib: fix compilation warning Date: Fri, 12 May 2017 12:47:23 +0200 Message-ID: <20170512104723.9469-1-david@redhat.com> Cc: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Thomas Huth , david@redhat.com, David Matlack To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:43980 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755543AbdELKre (ORCPT ); Fri, 12 May 2017 06:47:34 -0400 Sender: kvm-owner@vger.kernel.org List-ID: GCC doesn't like comparison of signed and unsigned values. Signed-off-by: David Hildenbrand --- 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