projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Docs: CTF-IR sequence's length field must be unsigned
[babeltrace.git]
/
formats
/
ctf
/
ir
/
event-fields.c
diff --git
a/formats/ctf/ir/event-fields.c
b/formats/ctf/ir/event-fields.c
index 973c9bdd395338bbc5370355393dd61a374fd85c..a6054859690cb2f1a2f24cb259410a8744fe50d4 100644
(file)
--- a/
formats/ctf/ir/event-fields.c
+++ b/
formats/ctf/ir/event-fields.c
@@
-269,6
+269,7
@@
int bt_ctf_field_sequence_set_length(struct bt_ctf_field *field,
length_type = container_of(length_field->type,
struct bt_ctf_field_type_integer, parent);
+ /* The length field must be unsigned */
if (length_type->declaration.signedness) {
ret = -1;
goto end;
This page took
0.024153 seconds
and
4
git commands to generate.