Fix: use of wrong enumeration_mapping_ranges type
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Fri, 15 Feb 2019 22:01:08 +0000 (17:01 -0500)
committerFrancis Deslauriers <francis.deslauriers@efficios.com>
Thu, 2 May 2019 20:50:15 +0000 (20:50 +0000)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
include/babeltrace/trace-ir/field-class-const.h
lib/trace-ir/field-class.c

index c3c2d8eccaca20c4cb37a7a0b8b5b17bf2c35932..96f7802c727f5bdf95c634e130dc952b371d313f 100644 (file)
@@ -108,7 +108,7 @@ bt_field_class_unsigned_enumeration_mapping_ranges_get_range_by_index(
 
 extern void
 bt_field_class_signed_enumeration_mapping_ranges_get_range_by_index(
-               const bt_field_class_unsigned_enumeration_mapping_ranges *ranges,
+               const bt_field_class_signed_enumeration_mapping_ranges *ranges,
                uint64_t index, int64_t *lower, int64_t *upper);
 
 extern bt_field_class_status
index 9b19022d12ea60c392b08293bf4e64f6b7ca9657..02a59d94301105f079917f0930f77f036b4a946e 100644 (file)
@@ -376,7 +376,7 @@ void bt_field_class_unsigned_enumeration_mapping_ranges_get_range_by_index(
 }
 
 void bt_field_class_signed_enumeration_mapping_ranges_get_range_by_index(
-               const struct bt_field_class_unsigned_enumeration_mapping_ranges *ranges,
+               const struct bt_field_class_signed_enumeration_mapping_ranges *ranges,
                uint64_t index, int64_t *lower, int64_t *upper)
 {
        get_enumeration_field_class_mapping_range_at_index(
@@ -707,7 +707,7 @@ static
 void destroy_structure_field_class(struct bt_object *obj)
 {
        BT_ASSERT(obj);
-       BT_LIB_LOGD("Destroying string field class object: %!+F", obj);
+       BT_LIB_LOGD("Destroying structure field class object: %!+F", obj);
        finalize_named_field_classes_container((void *) obj);
        g_free(obj);
 }
This page took 0.025813 seconds and 4 git commands to generate.