From 584e475eab79c06cbf71052640c80ebe367a2c47 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Wed, 7 Sep 2016 11:07:52 -0400 Subject: [PATCH] Fix: use ssize_type for the return value of uri_parse_str_urls MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- src/lib/lttng-ctl/load.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/lttng-ctl/load.c b/src/lib/lttng-ctl/load.c index df712782f..fb28f4eae 100644 --- a/src/lib/lttng-ctl/load.c +++ b/src/lib/lttng-ctl/load.c @@ -100,7 +100,8 @@ int lttng_load_session_attr_set_input_url( struct lttng_load_session_attr *attr, const char *url) { int ret = 0; - size_t len, size; + size_t len; + ssize_t size; struct lttng_uri *uris = NULL; if (!attr) { -- 2.34.1