ir: attributes: fix index and count integer types
[babeltrace.git] / include / babeltrace / ctf-ir / attributes-internal.h
index fc82e7296e78812ef8e7a75accb8ac0e97876508..359e75ed4d190a7b785b200b7843c9e9cdf88740 100644 (file)
@@ -32,6 +32,7 @@
 extern "C" {
 #endif
 
+#include <stdint.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <babeltrace/values.h>
 
@@ -46,11 +47,11 @@ int64_t bt_ctf_attributes_get_count(struct bt_value *attr_obj);
 
 BT_HIDDEN
 const char *bt_ctf_attributes_get_field_name(struct bt_value *attr_obj,
-               int index);
+               uint64_t index);
 
 BT_HIDDEN
 struct bt_value *bt_ctf_attributes_get_field_value(struct bt_value *attr_obj,
-               int index);
+               uint64_t index);
 
 BT_HIDDEN
 int bt_ctf_attributes_set_field_value(struct bt_value *attr_obj,
This page took 0.023114 seconds and 4 git commands to generate.