projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: add unsigned and signed integer value API
[babeltrace.git]
/
lib
/
trace-ir
/
trace-class.c
diff --git
a/lib/trace-ir/trace-class.c
b/lib/trace-ir/trace-class.c
index 3aa398fb94904744f0906925bfdbbe457c3ea76a..64a057b56a42be7dc640ec934f069e4cc0ca9104 100644
(file)
--- a/
lib/trace-ir/trace-class.c
+++ b/
lib/trace-ir/trace-class.c
@@
-337,7
+337,7
@@
enum bt_trace_class_status bt_trace_class_set_environment_entry_integer(
struct bt_value *value_obj;
BT_ASSERT_PRE_NON_NULL(tc, "Trace class");
BT_ASSERT_PRE_NON_NULL(name, "Name");
struct bt_value *value_obj;
BT_ASSERT_PRE_NON_NULL(tc, "Trace class");
BT_ASSERT_PRE_NON_NULL(name, "Name");
- value_obj = bt_value_integer_create_init(value);
+ value_obj = bt_value_
signed_
integer_create_init(value);
if (!value_obj) {
BT_LOGE_STR("Cannot create an integer value object.");
ret = BT_TRACE_CLASS_STATUS_NOMEM;
if (!value_obj) {
BT_LOGE_STR("Cannot create an integer value object.");
ret = BT_TRACE_CLASS_STATUS_NOMEM;
This page took
0.023583 seconds
and
4
git commands to generate.