Standardize *get_*_count() functions
[babeltrace.git] / lib / ctf-ir / field-path.c
index 6c0b248af0ce222632a9957834ab8d3cc8f8c4e5..a3d42352709410dce141511fbe3b3d46a1b18526 100644 (file)
@@ -29,6 +29,7 @@
 #include <babeltrace/ctf-ir/field-path-internal.h>
 #include <babeltrace/ctf-ir/field-path.h>
 #include <limits.h>
+#include <stdint.h>
 #include <glib.h>
 
 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;
This page took 0.028061 seconds and 4 git commands to generate.