projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: bt_ctf_field_type_floating_point_copy(): set self references
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event-types.c
diff --git
a/formats/ctf/ir/event-types.c
b/formats/ctf/ir/event-types.c
index c750d2187a12a5534579d6f4d29a27b48f9f7651..761b2c26aae439f99d99255b6c0e5535db60fce0 100644
(file)
--- a/
formats/ctf/ir/event-types.c
+++ b/
formats/ctf/ir/event-types.c
@@
-3236,6
+3236,9
@@
struct bt_ctf_field_type *bt_ctf_field_type_floating_point_copy(
copy_float->mantissa = floating_point->mantissa;
copy_float->exp = floating_point->exp;
copy_float->user_byte_order = floating_point->user_byte_order;
copy_float->mantissa = floating_point->mantissa;
copy_float->exp = floating_point->exp;
copy_float->user_byte_order = floating_point->user_byte_order;
+ copy_float->declaration.sign = ©_float->sign;
+ copy_float->declaration.mantissa = ©_float->mantissa;
+ copy_float->declaration.exp = ©_float->exp;
end:
return copy;
}
end:
return copy;
}
This page took
0.030512 seconds
and
4
git commands to generate.