projects
/
lttng-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed2b7d4
)
Fix: incorrect cast in ust consumer assert
author
David Goulet
<dgoulet@efficios.com>
Wed, 1 Oct 2014 18:32:12 +0000
(14:32 -0400)
committer
David Goulet
<dgoulet@efficios.com>
Wed, 1 Oct 2014 18:32:12 +0000
(14:32 -0400)
Fixes Coverity issue
1068813
.
Signed-off-by: David Goulet <dgoulet@efficios.com>
src/common/ust-consumer/ust-consumer.c
patch
|
blob
|
blame
|
history
diff --git
a/src/common/ust-consumer/ust-consumer.c
b/src/common/ust-consumer/ust-consumer.c
index 01f79d68fe6e4c50feb4a6983ef8b51fd4aed21a..bff360edb18165a9f7f70cd48c1dc9892ffcaf93 100644
(file)
--- a/
src/common/ust-consumer/ust-consumer.c
+++ b/
src/common/ust-consumer/ust-consumer.c
@@
-2144,7
+2144,7
@@
int lttng_ustconsumer_data_pending(struct lttng_consumer_stream *stream)
*/
DBG("UST consumer metadata pending check: contiguous %" PRIu64 " vs pushed %" PRIu64,
contiguous, pushed);
- assert(((int64_t)
contiguous - pushed
) >= 0);
+ assert(((int64_t)
(contiguous - pushed)
) >= 0);
if ((contiguous != pushed) ||
(((int64_t) contiguous - pushed) > 0 || contiguous == 0)) {
ret = 1; /* Data is pending */
This page took
0.027148 seconds
and
4
git commands to generate.