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.7.5~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=01262f7ec2efee4ef347d16ae9229fe9e91ac360;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 39003e947..b3cfba79e 100644 --- a/src/lib/lttng-ctl/load.c +++ b/src/lib/lttng-ctl/load.c @@ -101,7 +101,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) {