From: Jonathan Rajotte Date: Wed, 7 Sep 2016 15:07:52 +0000 (-0400) Subject: Fix: use ssize_type for the return value of uri_parse_str_urls X-Git-Tag: v2.9.0-rc1~32 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=584e475eab79c06cbf71052640c80ebe367a2c47;p=lttng-tools.git Fix: use ssize_type for the return value of uri_parse_str_urls Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- 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) {