Fix: wrong casting of return value
authorJonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Mon, 9 Jun 2014 15:40:36 +0000 (11:40 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 12 Jun 2014 17:58:20 +0000 (13:58 -0400)
commit106d4b465b1e53ee4c38976253a284a1d4c7512d
treea388eee39c6bacb104b1bb943aae1de390955c14
parent1df969e7ed1c2b9646e12da172e1d95a397ba23a
Fix: wrong casting of return value

The function uri_parse_str_urls return a ssize_t and the return was
casted to a size_t. This caused the following error checking to fail as
-1 was interpreted as 18446744073709551615.

Fixes #803

Signed-off-by: Jonathan Rajotte Julien <jonathan.r.julien@gmail.com>
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/lib/lttng-ctl/save.c
This page took 0.025978 seconds and 5 git commands to generate.