Standardize *get_*_count() functions
[babeltrace.git] / lib / graph / clock-class-priority-map.c
index 7e6543b4701d0739904be17fdbf1ba890dfdcec3..98e72522121a8b3f2d7d241e56c6dfb44a85d892 100644 (file)
@@ -82,16 +82,16 @@ end:
        return cc_prio_map;
 }
 
-int bt_clock_class_priority_map_get_clock_class_count(
+int64_t bt_clock_class_priority_map_get_clock_class_count(
                struct bt_clock_class_priority_map *cc_prio_map)
 {
-       int ret = -1;
+       int64_t ret = -1;
 
        if (!cc_prio_map) {
                goto end;
        }
 
-       ret = (int) cc_prio_map->entries->len;
+       ret = (int64_t) cc_prio_map->entries->len;
 
 end:
        return ret;
This page took 0.023659 seconds and 4 git commands to generate.