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.8.2~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=ee6cec18ece7805b1966cbaefdfdaa32e123ec60;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) {