fix: cast LTTNG_KERNEL_VERSION/LTTNG_LINUX_VERSION_CODE to uint64_t
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 9 Feb 2021 16:04:25 +0000 (11:04 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 9 Feb 2021 19:29:27 +0000 (14:29 -0500)
commitdb34449e0268698d2a21c68bfd96f62dc6e84c16
tree2b1a6599263bf8f7aaf29d60daaa4390d0487480
parentd4b8ca9cdf8ba6a8d52fdcb9433c6c73fa9702c1
fix: cast LTTNG_KERNEL_VERSION/LTTNG_LINUX_VERSION_CODE to uint64_t

Cast our version macros to an unsigned 64bits value to prevent
overflowing when we append distro specific version information.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ia42a5dc0dfddf64515aea144283af5cc0c3b97e0
include/lttng/kernel-version.h
This page took 0.026559 seconds and 4 git commands to generate.