projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix integer/float/string read: keep value in definition structure
[babeltrace.git]
/
include
/
babeltrace
/
ctf
/
types.h
diff --git
a/include/babeltrace/ctf/types.h
b/include/babeltrace/ctf/types.h
index 91c3303c2835b92529d773966b9a8cd0adbc52b7..8c98ff2c76a263155ffb0e77752bcf50fe2b2db6 100644
(file)
--- a/
include/babeltrace/ctf/types.h
+++ b/
include/babeltrace/ctf/types.h
@@
-133,7
+133,7
@@
void init_pos(struct stream_pos *pos, int fd)
static inline
void move_pos(struct stream_pos *pos, size_t offset)
{
static inline
void move_pos(struct stream_pos *pos, size_t offset)
{
- if (pos->fd >= 0 &&
pos->offset + offset >= pos->content_size
)
+ if (pos->fd >= 0 &&
(pos->offset + offset >= pos->content_size)
)
move_pos_slow(pos, offset);
else
pos->offset += offset;
move_pos_slow(pos, offset);
else
pos->offset += offset;
This page took
0.023938 seconds
and
4
git commands to generate.