From: Jérémie Galarneau Date: Tue, 25 Feb 2014 20:40:42 +0000 (-0500) Subject: Fix: Remove negative comparison to unsigned value X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=65ae9a8214a1b759089edfaf6133845818dfb678;p=deliverable%2Fbabeltrace.git Fix: Remove negative comparison to unsigned value Signed-off-by: Jérémie Galarneau --- diff --git a/formats/lttng-live/lttng-live-comm.c b/formats/lttng-live/lttng-live-comm.c index 03191cd3d..5a7d067e4 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; }