projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: Only close valid fds in is_valid_debug_file
[babeltrace.git]
/
formats
/
ctf
/
ir
/
fields.c
diff --git
a/formats/ctf/ir/fields.c
b/formats/ctf/ir/fields.c
index 58f69fd43cbd5e674412e05c7a4f11afe706834f..123c3153a60cef91e8b716ba5813b0669b4f06bc 100644
(file)
--- a/
formats/ctf/ir/fields.c
+++ b/
formats/ctf/ir/fields.c
@@
-994,7
+994,7
@@
int bt_ctf_field_unsigned_integer_set_value(struct bt_ctf_field *field,
}
size = integer_type->declaration.len;
- max_value = (size == 64) ? UINT64_MAX : ((uint64_t)1 << size) - 1;
+ max_value = (size == 64) ? UINT64_MAX : ((uint64_t)
1 << size) - 1;
if (value > max_value) {
ret = -1;
goto end;
This page took
0.02487 seconds
and
4
git commands to generate.