X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=lib%2Fctf-ir%2Ffield-path.c;h=a3d42352709410dce141511fbe3b3d46a1b18526;hb=544d0515ffa2d011247e4f1d7cad5770b8ec7033;hp=6c0b248af0ce222632a9957834ab8d3cc8f8c4e5;hpb=22c6cf86eaefb85d68938ff974aa3cb317320e97;p=babeltrace.git diff --git a/lib/ctf-ir/field-path.c b/lib/ctf-ir/field-path.c index 6c0b248a..a3d42352 100644 --- a/lib/ctf-ir/field-path.c +++ b/lib/ctf-ir/field-path.c @@ -29,6 +29,7 @@ #include #include #include +#include #include static @@ -111,10 +112,10 @@ end: return scope; } -int bt_ctf_field_path_get_index_count( +int64_t bt_ctf_field_path_get_index_count( const struct bt_ctf_field_path *field_path) { - int ret = -1; + int64_t ret = -1; if (!field_path) { goto end;