From: Jérémie Galarneau Date: Sat, 14 Sep 2019 20:27:45 +0000 (-0400) Subject: sessiond: clean-up: mixed log levels enums used to look-up event X-Git-Tag: v2.12.0-rc1~381 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=abda88ad06a238652230a7d19f0775a7a75d3dc4;hp=abda88ad06a238652230a7d19f0775a7a75d3dc4;p=lttng-tools.git sessiond: clean-up: mixed log levels enums used to look-up event lttng_ust_loglevel_type and lttng_loglevel_type enums are mixed. This is correct as they share all values. A cast is added to silence a clang warning. Normally we would assign the values of one to the other. This is not practical here as the ust variant is defined by the lttng-ust API and the other is part of the public lttng-ctl API. Signed-off-by: Jérémie Galarneau ---