Tests: Test CTF-IR event-field's getters
[babeltrace.git] / formats / ctf / ir / event-fields.c
index a6054859690cb2f1a2f24cb259410a8744fe50d4..92385869c2bbe6661429aa9e5c48f77fbc6ad582 100644 (file)
@@ -613,7 +613,7 @@ const char *bt_ctf_field_enumeration_get_mapping_name(
        enumeration_type = container_of(field->type,
                struct bt_ctf_field_type_enumeration, parent);
 
-       if (integer_type->declaration.signedness) {
+       if (!integer_type->declaration.signedness) {
                uint64_t value;
                ret = bt_ctf_field_unsigned_integer_get_value(container,
                      &value);
This page took 0.023017 seconds and 4 git commands to generate.