From 65ae9a8214a1b759089edfaf6133845818dfb678 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 25 Feb 2014 15:40:42 -0500 Subject: [PATCH] Fix: Remove negative comparison to unsigned value MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- formats/lttng-live/lttng-live-comm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formats/lttng-live/lttng-live-comm.c b/formats/lttng-live/lttng-live-comm.c index 03191cd3..5a7d067e 100644 --- a/formats/lttng-live/lttng-live-comm.c +++ b/formats/lttng-live/lttng-live-comm.c @@ -706,7 +706,7 @@ retry: goto error; } - if (len <= 0) { + if (len == 0) { goto error; } -- 2.34.1