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>
Wed, 10 Feb 2021 15:10:51 +0000 (10:10 -0500)
commit6f182b5468d6f80dfbd1002ad3966c904686ca40
treec2820901fa6ae314725a24125cc2bd61cc57d373
parent140ade7579fb78822566924134d4547c24614d4f
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: I5af74cffe57cfe44c6e4a951c7a1270028650aa5
lttng-kernel-version.h
This page took 0.028952 seconds and 4 git commands to generate.