lib: add unsigned and signed integer value API
[babeltrace.git] / plugins / ctf / fs-sink / translate-ctf-ir-to-tsdl.c
index efc02b305850d1a441b7f9e85feceaeb50bf804c..c148caea410f11972f1969d693df68015bdbf692 100644 (file)
@@ -867,9 +867,9 @@ void translate_trace_class_ctf_ir_to_tsdl(struct fs_sink_ctf_trace_class *tc,
                        g_string_append_printf(tsdl, "%s = ", name);
 
                        switch (bt_value_get_type(val)) {
-                       case BT_VALUE_TYPE_INTEGER:
+                       case BT_VALUE_TYPE_SIGNED_INTEGER:
                                g_string_append_printf(tsdl, "%" PRId64,
-                                       bt_value_integer_get(val));
+                                       bt_value_signed_integer_get(val));
                                break;
                        case BT_VALUE_TYPE_STRING:
                                append_quoted_string(&ctx, bt_value_string_get(val));
This page took 0.022959 seconds and 4 git commands to generate.