Port: replace strerror_r() with glib g_strerror()
[babeltrace.git] / lib / ctf-ir / attributes.c
index f0029a048dbd9aad81168a58f46dbdc49450226f..ac97972429e40323cd2361d4c61ac93fb73bf64c 100644 (file)
@@ -32,6 +32,7 @@
 #include <babeltrace/values.h>
 #include <inttypes.h>
 #include <assert.h>
+#include <babeltrace/compat/string-internal.h>
 
 #define BT_CTF_ATTR_NAME_INDEX         0
 #define BT_CTF_ATTR_VALUE_INDEX                1
@@ -186,7 +187,7 @@ struct bt_value *bt_ctf_attributes_get_field_by_name(
                if (!attr_field_name_obj) {
                        BT_LOGE("Cannot get attribute array value's element by index: "
                                "value-addr=%p, index=%" PRIu64,
-                               value_obj, 0);
+                               value_obj, (int64_t) 0);
                        goto error;
                }
 
This page took 0.023905 seconds and 4 git commands to generate.