Ensure that multiplication of clock offset is done on 64-bit
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Mar 2012 20:09:52 +0000 (16:09 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Mar 2012 20:09:52 +0000 (16:09 -0400)
commit17ec046afa9b641b95951ca9594c3b7351d5e658
tree676e059e660b224e39f287653103232dbf4d3a52
parent046975d04b3051a9e8ce71d07d04c2489dc03617
Ensure that multiplication of clock offset is done on 64-bit

This is not a bug in UST per se, because we happen to force
multiplication by a ULL number, but force cast to uint64_t anyway to
ensure we don't trigger this overflow if the constant ever happen to
change.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
liblttng-ust/ltt-events.c
This page took 0.026267 seconds and 4 git commands to generate.