lib: fix compilation warning
Subsystems (2)
PATCH 1/1 lib: fix compilation warning
GCC doesn't like comparison of signed and unsigned values.
Signed-off-by David Hildenbrand <[email protected]>
--- lib/report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/report.c +1 -1
@@ -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);
Signature · 1 line
2.9.3
Quoted 12 lines · David Hildenbrand
GCC doesn't like comparison of signed and unsigned values.
Signed-off-by David Hildenbrand <[email protected]>--- lib/report.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/report.c +0
-0
lib/report.c void report_pass(void) · line 35
Quoted 8 lines
lib/report.c +1
-1@@ -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);
This fixes the problem for me, too:
Tested-by Thomas Huth <[email protected]>
Radim Krčmář
Applied2017-05-12 12:47+0200, David Hildenbrand:
Quoted 4 lines
GCC doesn't like comparison of signed and unsigned values.
Signed-off-by David Hildenbrand <[email protected]>---
Applied, thanks.