#include <babeltrace/babeltrace-internal.h>
#include <babeltrace/compiler-internal.h>
#include <babeltrace/ref.h>
+#include <stdint.h>
#include <glib.h>
static
int64_t bt_clock_class_priority_map_get_clock_class_count(
struct bt_clock_class_priority_map *cc_prio_map)
{
- int64_t ret = -1;
+ int64_t ret = (int64_t) -1;
if (!cc_prio_map) {
goto end;
return ret;
}
-struct bt_ctf_clock_class *bt_clock_class_priority_map_get_clock_class(
+struct bt_ctf_clock_class *bt_clock_class_priority_map_get_clock_class_by_index(
struct bt_clock_class_priority_map *cc_prio_map,
- unsigned int index)
+ uint64_t index)
{
struct bt_ctf_clock_class *clock_class = NULL;